2019-04-28 11:56:16 +03:00
|
|
|
class CreateConferences < ActiveRecord::Migration[4.2]
|
2014-08-10 19:57:46 +03:00
|
|
|
def change
|
|
|
|
create_table :conferences do |t|
|
|
|
|
t.string :title, null: false
|
|
|
|
t.string :email, null: false
|
|
|
|
t.text :description, null: false
|
|
|
|
t.timestamp :start_date, null: false
|
|
|
|
t.timestamp :end_date, null: false
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|