2013-01-07 09:04:09 +01:00
|
|
|
class CreateCfpTable < ActiveRecord::Migration
|
|
|
|
|
def up
|
|
|
|
|
create_table :call_for_papers do |t|
|
2014-07-21 14:49:05 +02:00
|
|
|
t.date :start_date, null: false
|
|
|
|
|
t.date :end_date, null: false
|
|
|
|
|
t.date :hard_deadline, null: false
|
|
|
|
|
t.text :description, null: false
|
2013-01-07 09:04:09 +01:00
|
|
|
t.references :conference
|
|
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def down
|
|
|
|
|
drop_table :call_for_papers
|
|
|
|
|
end
|
|
|
|
|
end
|