negos_app/db/migrate/20180921093741_create_need_furbish_interests.rb
2018-09-21 12:01:08 +02:00

11 lines
288 B
Ruby

class CreateNeedFurbishInterests < ActiveRecord::Migration
def change
create_table :need_furbish_interests do |t|
t.references :need, index: true, foreign_key: true
t.references :customer, index: true, foreign_key: true
t.timestamps null: false
end
end
end