2018-05-07 16:47:29 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2014-08-18 14:33:02 +02:00
|
|
|
class CreateRegistrationPeriods < ActiveRecord::Migration
|
|
|
|
|
def up
|
|
|
|
|
create_table :registration_periods do |t|
|
|
|
|
|
t.integer :conference_id
|
|
|
|
|
t.date :start_date
|
|
|
|
|
t.date :end_date
|
|
|
|
|
t.text :description
|
|
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def down
|
|
|
|
|
drop_table :registration_periods
|
|
|
|
|
end
|
|
|
|
|
end
|