panier_app/migrations/00810_create_p_remises.rb
Nicolas Bally d744a04b28 initial
2020-10-30 22:26:40 +01: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