This commit is contained in:
yarzar_code
2020-01-12 20:07:28 +06:30
parent 314cc507a3
commit dff2c69627
89 changed files with 492 additions and 469 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