parent
a620950383
commit
ed55e2bf3a
25 changed files with 529 additions and 131 deletions
16
db/migrate/20140804185823_create_registration_periods.rb
Normal file
16
db/migrate/20140804185823_create_registration_periods.rb
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue