From 94c765a40382e1c6b6b1190308349d4bc9e191a3 Mon Sep 17 00:00:00 2001 From: Thein Lin Kyaw Date: Tue, 25 Feb 2020 17:34:03 +0630 Subject: [PATCH] add shop_code to required tables --- db/migrate/20200225092628_add_shop_code_2.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 db/migrate/20200225092628_add_shop_code_2.rb diff --git a/db/migrate/20200225092628_add_shop_code_2.rb b/db/migrate/20200225092628_add_shop_code_2.rb new file mode 100644 index 00000000..5336b50c --- /dev/null +++ b/db/migrate/20200225092628_add_shop_code_2.rb @@ -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