add shop_code to required tables

This commit is contained in:
Thein Lin Kyaw
2020-02-25 17:34:03 +06:30
parent a29b1551a0
commit 94c765a403

View File

@@ -0,0 +1,18 @@
class AddShopCode2 < ActiveRecord::Migration[5.1]
def change
add_column :booking_orders, :shop_code, :string
add_column :cashier_terminal_by_zones, :shop_code, :string
add_column :display_images, :shop_code, :string
add_column :in_duties, :shop_code, :string
add_column :menu_categories, :shop_code, :string
add_column :menu_instance_item_sets, :shop_code, :string
add_column :menu_item_attributes, :shop_code, :string
add_column :menu_item_options, :shop_code, :string
add_column :menu_item_sets, :shop_code, :string
add_column :order_queue_process_by_zones, :shop_code, :string
add_column :order_reservation_items, :shop_code, :string
add_column :out_of_stocks, :shop_code, :string
add_column :product_commissions, :shop_code, :string
add_column :sale_orders, :shop_code, :string
end
end