add alt name to order and sale items and update seeds
This commit is contained in:
@@ -5,6 +5,7 @@ class CreateSaleItems < ActiveRecord::Migration[5.1]
|
||||
t.string :sale_id, foreign_key: true, :limit => 16
|
||||
t.string :product_code, :null => false
|
||||
t.string :product_name, :null => false
|
||||
t.string :product_alt_name, :null => false
|
||||
t.integer :account_id, :limit => 8, :null => false, :default => 1
|
||||
t.string :remark
|
||||
t.decimal :qty, :precision => 10, :scale => 2, :null => false, :default => 0.00
|
||||
|
||||
Reference in New Issue
Block a user