lockaz_app/migrations/00810_create_p_remises.rb
Nicolas Bally f20fe482c6 initial
2020-04-06 10:38:07 +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