Merge branch 'foodcourt' of https://gitlab.com/code2lab/SXRestaurant into foodcourt

This commit is contained in:
Nweni
2019-11-27 09:36:39 +06:30
26 changed files with 281 additions and 260 deletions

View File

@@ -0,0 +1,33 @@
class Removeshopid < ActiveRecord::Migration[5.1]
def change
remove_column :accounts, :shop_id
remove_column :bookings, :shop_id
remove_column :cashier_terminals, :shop_id
remove_column :commissioners, :shop_id
remove_column :commissions, :shop_id
remove_column :customers, :shop_id
remove_column :dining_facilities, :shop_id
remove_column :dining_queues, :shop_id
remove_column :employees, :shop_id
remove_column :inventory_definitions, :shop_id
remove_column :item_sets, :shop_id
remove_column :lookups, :shop_id
remove_column :membership_settings, :shop_id
remove_column :menus, :shop_id
remove_column :order_queue_stations, :shop_id
remove_column :orders, :shop_id
remove_column :payment_journals, :shop_id
remove_column :payment_method_settings, :shop_id
remove_column :print_settings, :shop_id
remove_column :sales, :shop_id
remove_column :products, :shop_id
remove_column :promotions, :shop_id
remove_column :seed_generators, :shop_id
remove_column :shift_sales, :shop_id
remove_column :stock_checks, :shop_id
remove_column :stock_journals, :shop_id
remove_column :surveys, :shop_id
remove_column :tax_profiles, :shop_id
remove_column :zones, :shop_id
end
end