olwen_demo_app/db/migrate/00810_create_p_remises.rb
Nicolas Bally 7b2e6811dd initial
2020-06-05 11:10:02 +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