pollen_app/db/migrate/20200401121041_create_m_odr_coupons.rb
Nicolas Bally 120e9803eb initial
2020-04-28 14:51:42 +02:00

11 lines
211 B
Ruby

class CreateMOdrCoupons < ActiveRecord::Migration[6.0]
def change
create_table :m_odr_coupons do |t|
t.string :name
t.references :m_odr, foreign_key: true
t.timestamps
end
end
end