mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
16 lines
311 B
Ruby
16 lines
311 B
Ruby
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
|