parent
7793497862
commit
fedb0753bf
42 changed files with 578 additions and 236 deletions
30
db/migrate/20140825091222_create_splashpages.rb
Normal file
30
db/migrate/20140825091222_create_splashpages.rb
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
class CreateSplashpages < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :splashpages do |t|
|
||||
t.integer :conference_id
|
||||
|
||||
t.boolean :public
|
||||
t.boolean :include_tracks
|
||||
t.boolean :include_program
|
||||
t.boolean :include_social_media
|
||||
t.boolean :include_banner
|
||||
t.boolean :include_venue
|
||||
t.boolean :include_tickets
|
||||
t.text :ticket_description
|
||||
t.boolean :include_registrations
|
||||
t.text :registration_description
|
||||
t.boolean :include_sponsors
|
||||
t.text :sponsor_description
|
||||
t.boolean :include_lodgings
|
||||
t.text :lodging_description
|
||||
|
||||
t.text :banner_description
|
||||
t.string :banner_photo_file_name
|
||||
t.string :banner_photo_content_type
|
||||
t.integer :banner_photo_file_size
|
||||
t.datetime :banner_photo_updated_at
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue