clarion/db/migrate/20150420154042_create_call_...

12 lines
295 B
Ruby

class CreateCallForParticipations < ActiveRecord::Migration[4.2]
def change
create_table :call_for_participations do |t|
t.references :conference, index: true, foreign_key: true
t.datetime :opens_at
t.datetime :closes_at
t.timestamps null: false
end
end
end