This commit is contained in:
Myat Zin Wai Maw
2020-01-13 15:08:04 +06:30
parent 45326750db
commit d794e023b8
6 changed files with 124 additions and 6 deletions

View File

@@ -0,0 +1,13 @@
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