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
