2018-05-07 16:47:29 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2014-01-01 11:39:59 +02:00
|
|
|
class CreateVdays < ActiveRecord::Migration
|
|
|
|
|
def up
|
|
|
|
|
create_table :vdays do |t|
|
|
|
|
|
t.references :conference
|
|
|
|
|
t.date :day
|
|
|
|
|
t.text :description
|
|
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def down
|
|
|
|
|
drop_table :vdays
|
|
|
|
|
end
|
|
|
|
|
end
|