Read NFC
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user