add account_id to od_item and sale_item table
This commit is contained in:
@@ -7,6 +7,7 @@ class CreateOrderItems < ActiveRecord::Migration[5.1]
|
||||
t.string :item_order_by #person who order this
|
||||
t.string :item_code, :null => false
|
||||
t.string :item_name, :null => false
|
||||
t.integer :account, :limit => 8, :null => false, :default => 1
|
||||
t.decimal :qty, :precision => 10, :scale => 2, :null => false, :default => 0.00
|
||||
t.decimal :price, :precision => 10, :scale => 2, :null => false, :default => 0.00
|
||||
t.string :remark
|
||||
|
||||
Reference in New Issue
Block a user