Make open source
This commit is contained in:
14
db/migrate/20180325202641_simplify_diet.rb
Normal file
14
db/migrate/20180325202641_simplify_diet.rb
Normal file
@ -0,0 +1,14 @@
|
||||
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
|
Reference in New Issue
Block a user