First checkin
This commit is contained in:
parent
f207e2c8b7
commit
90b30db9e8
260 changed files with 37349 additions and 0 deletions
31
db/migrate/20121223115135_create_events_table.rb
Normal file
31
db/migrate/20121223115135_create_events_table.rb
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
class CreateEventsTable < ActiveRecord::Migration
|
||||
def up
|
||||
create_table :events do |t|
|
||||
t.string :guid, :null => false
|
||||
t.references :conference
|
||||
t.references :event_type
|
||||
t.string :title, :null => false
|
||||
t.string :subtitle
|
||||
t.integer :time_slots
|
||||
t.string :state, :null => false, :default => "new"
|
||||
t.string :progress, :null => false, :default => "new"
|
||||
t.string :language
|
||||
t.datetime :start_time
|
||||
t.text :abstract
|
||||
t.text :description
|
||||
t.boolean :public, :default => true
|
||||
t.string :logo_file_name
|
||||
t.string :logo_content_type
|
||||
t.integer :logo_file_size
|
||||
t.datetime :logo_updated_at
|
||||
t.text :proposal_additional_speakers
|
||||
t.references :track
|
||||
t.references :room
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue