parsley/db/migrate/20160124222409_add_ndbn_to_ingredients.rb

9 lines
171 B
Ruby
Raw Normal View History

2016-10-14 12:19:00 -05:00
class AddNdbnToIngredients < ActiveRecord::Migration[4.2]
2016-01-24 17:10:43 -06:00
def change
change_table :ingredients do |t|
t.string :ndbn, limit: 5, index: true
end
end
end