mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
15 lines
292 B
Ruby
15 lines
292 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateDietaryChoicesTable < ActiveRecord::Migration
|
|
def up
|
|
create_table :dietary_choices do |t|
|
|
t.references :conference
|
|
t.string :title, null: false
|
|
t.timestamps
|
|
end
|
|
end
|
|
|
|
def down
|
|
drop_table :dietary_choices
|
|
end
|
|
end
|