Adding social events, which can be used on the registration page
This commit is contained in:
parent
ba721772b9
commit
3933e89a9c
14 changed files with 112 additions and 6 deletions
14
db/migrate/20130216070725_create_social_events_table.rb
Normal file
14
db/migrate/20130216070725_create_social_events_table.rb
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
class CreateSocialEventsTable < ActiveRecord::Migration
|
||||
def up
|
||||
create_table :social_events do |t|
|
||||
t.references :conference
|
||||
t.string :title
|
||||
t.text :description
|
||||
t.date :date
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
drop_table :social_events
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue