Files
wedding/db/migrate/20180325202641_simplify_diet.rb
2020-05-30 09:40:57 +01:00

17 lines
324 B
Ruby

# frozen_string_literal: true
class SimplifyDiet < ActiveRecord::Migration[5.1]
def change
change_table :guests do |t|
t.remove :other_diet
t.change :diet, :string
t.string :songs
end
change_table :plus_ones do |t|
t.remove :other_diet
t.change :diet, :string
end
end
end