2014-01-01 11:39:59 +02:00
|
|
|
class CreateVpositions < ActiveRecord::Migration
|
|
|
|
|
def up
|
|
|
|
|
create_table :vpositions do |t|
|
|
|
|
|
t.references :conference
|
2014-07-21 14:49:05 +02:00
|
|
|
t.string :title, null: false
|
2014-01-01 11:39:59 +02:00
|
|
|
t.text :description
|
|
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def down
|
|
|
|
|
drop_table :vpositions
|
|
|
|
|
end
|
|
|
|
|
end
|