6 lines
135 B
Ruby
6 lines
135 B
Ruby
|
class AddCategoryToProducts < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_column :products, :category, :integer, default: 0
|
||
|
end
|
||
|
end
|