fixed out of stock

This commit is contained in:
NyanLinHtut
2019-12-16 11:32:51 +06:30
parent ce79038668
commit 6568c09135
4 changed files with 46 additions and 54 deletions

View File

@@ -1,5 +1,5 @@
class AddIsOutOfStockToMenuItemInstaces < ActiveRecord::Migration[5.1]
def change
add_column :menu_item_instances, :is_out_of_stock, :boolean
add_column :menu_item_instances, :is_out_of_stock, :boolean, :default => 0
end
end