tax profile and lookup seed data
This commit is contained in:
@@ -4,10 +4,10 @@ class CreateMenuItemInstances < ActiveRecord::Migration[5.0]
|
||||
t.references :menu_item, :foreign_key => true, :null => false
|
||||
t.string :item_instance_code, :null => false
|
||||
t.json :attributes
|
||||
t.decimal :price, :null => false
|
||||
t.decimal :price,:precision => 10, :scale => 2, :null => false, :default => 0.00
|
||||
t.boolean :is_available, :null => false, :default => true
|
||||
t.boolean :is_on_promotion, :null => false, :default => false
|
||||
t.decimal :promotion_price, :null => false, :default => false
|
||||
t.decimal :promotion_price, :precision => 10, :scale => 2, :null => false, :default => 0.00
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user