First checkin
This commit is contained in:
parent
f207e2c8b7
commit
90b30db9e8
260 changed files with 37349 additions and 0 deletions
19
db/migrate/20130103134212_create_registrations_table.rb
Normal file
19
db/migrate/20130103134212_create_registrations_table.rb
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
class CreateRegistrationsTable < ActiveRecord::Migration
|
||||
def up
|
||||
create_table :registrations do |t|
|
||||
t.references :person
|
||||
t.references :conference
|
||||
|
||||
t.boolean :attending_social_events, :default => true
|
||||
t.boolean :attending_social_events_with_partner, :default => false
|
||||
t.boolean :using_affiliated_lodging, :default => true
|
||||
t.date :arrival
|
||||
t.date :departure
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue