2018-05-07 16:47:29 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2022-11-09 17:05:21 -03:00
|
|
|
class CreateVdays < ActiveRecord::Migration[4.2]
|
2014-01-01 11:39:59 +02:00
|
|
|
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
|