BikeBikeBike/db/migrate/20140301202157_create_conferences.rb

22 lines
499 B
Ruby
Raw Normal View History

2014-03-09 14:43:33 -06:00
class CreateConferences < ActiveRecord::Migration
def change
create_table :conferences do |t|
t.string :title
t.string :slug
t.datetime :start_date
t.datetime :end_date
t.text :info
t.string :poster
t.string :cover
t.boolean :workshop_schedule_published
t.boolean :registration_open
t.boolean :meals_provided
t.text :meal_info
t.text :travel_info
t.integer :conference_type_id
t.timestamps
end
end
end