tap/db/migrate/20141210200008_add_category_to_products.rb
2014-12-10 21:25:21 +01:00

6 lines
135 B
Ruby

class AddCategoryToProducts < ActiveRecord::Migration
def change
add_column :products, :category, :integer, default: 0
end
end