16 lines
272 B
Ruby
16 lines
272 B
Ruby
|
|
class CreateVpositions < ActiveRecord::Migration
|
||
|
|
def up
|
||
|
|
create_table :vpositions do |t|
|
||
|
|
t.references :conference
|
||
|
|
t.string :title, :null => false
|
||
|
|
t.text :description
|
||
|
|
|
||
|
|
t.timestamps
|
||
|
|
end
|
||
|
|
end
|
||
|
|
|
||
|
|
def down
|
||
|
|
drop_table :vpositions
|
||
|
|
end
|
||
|
|
end
|