menu item checked
This commit is contained in:
@@ -3,6 +3,8 @@ class CreateSaleItems < ActiveRecord::Migration[5.1]
|
||||
create_table :sale_items, :id => false do |t|
|
||||
t.string :sale_item_id, :limit => 16, :primary_key => true#custom primary key - to ensure consistence for cloud syncing
|
||||
t.string :sale_id, foreign_key: true, :limit => 16, :index => true
|
||||
t.string :menu_category_code, :null => false, :limit => 100
|
||||
t.string :menu_category_name, :limit => 100, :index => true
|
||||
t.string :product_code, :null => false
|
||||
t.string :item_instance_code
|
||||
t.string :product_name, :null => false
|
||||
|
||||
Reference in New Issue
Block a user