mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
16 lines
237 B
Ruby
16 lines
237 B
Ruby
|
|
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
|