pollen_app/migrations/00810_create_p_remises.rb
Nicolas Bally 120e9803eb initial
2020-04-28 14:51:42 +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