class AddShopcode < ActiveRecord::Migration[5.1] def change add_column :dining_charges, :shop_code, :string, :default => '262' add_column :order_items, :shop_code, :string, :default => '262' add_column :promotion_products, :shop_code, :string, :default => '262' add_column :sale_audits, :shop_code, :string, :default => '262' add_column :sale_items, :shop_code, :string, :default => '262' add_column :sale_payments, :shop_code, :string, :default => '262' add_column :sale_taxes, :shop_code, :string, :default => '262' add_column :menu_item_instances, :shop_code, :string, :default => '262' add_column :menu_items, :shop_code, :string, :default => '262' end end