basic_app/migrations/00810_create_p_remises.rb
Nicolas Bally fd027c16c1 initial
2020-04-21 21:53:16 +02:00

13 lines
322 B
Ruby

class CreatePRemises < ActiveRecord::Migration[6.0]
def change
create_table :p_remises do |t|
t.date :date
t.boolean :validated, :default => false
t.references :p_payment_type, index: true
t.references :p_bank_account, index: true
t.timestamps
end
end
end