remove null false for product_alt_name in slae_items migration

This commit is contained in:
phyusin
2018-08-03 16:36:58 +06:30
parent 27271c429e
commit 963172eec0

View File

@@ -6,7 +6,7 @@ class CreateSaleItems < ActiveRecord::Migration[5.1]
t.string :product_code, :null => false
t.string :item_instance_code
t.string :product_name, :null => false
t.string :product_alt_name, :null => false
t.string :product_alt_name
t.integer :account_id, :index => true, :limit => 8, :null => false, :default => 1
t.string :status, :index => true
t.string :remark, :index => true