This commit is contained in:
Myat Zin Wai Maw
2020-01-14 13:31:54 +06:30
226 changed files with 3427 additions and 3740 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, :default => 0
end
end
# class AddIsOutOfStockToMenuItemInstaces < ActiveRecord::Migration[5.1]
# def change
# add_column :menu_item_instances, :is_out_of_stock, :boolean, :default => 0
# end
# end

View File

@@ -1,10 +1,10 @@
class CreateOutOfStocks < ActiveRecord::Migration[5.1]
def change
create_table :out_of_stocks do |t|
t.datetime :date
t.string :item_instance_code
class CreateOutOfStocks < ActiveRecord::Migration[5.1]
# def change
# create_table :out_of_stocks do |t|
# t.datetime :date
# t.string :item_instance_code
t.timestamps
end
end
end
# t.timestamps
# end
# end
end