First checkin
This commit is contained in:
parent
f207e2c8b7
commit
90b30db9e8
260 changed files with 37349 additions and 0 deletions
24
db/migrate/20121223115038_create_conferences_table.rb
Normal file
24
db/migrate/20121223115038_create_conferences_table.rb
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
class CreateConferencesTable < ActiveRecord::Migration
|
||||
def up
|
||||
create_table :conferences do |t|
|
||||
t.string :guid, :null => false
|
||||
t.string :title, :null => false
|
||||
t.string :short_title, :null => false
|
||||
t.string :social_tag
|
||||
t.string :contact_email, :null => false
|
||||
t.string :timezone, :null => false
|
||||
t.string :html_export_path
|
||||
t.date :start_date, :null => false
|
||||
t.date :end_date, :null => false
|
||||
t.boolean :cfp_open, :default => false
|
||||
t.boolean :registration_open, :default => false
|
||||
t.references :venue
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
drop_table :conferences
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue