@@ -58,4 +58,5 @@ zh-CN:
product_cycle: 生产周期
stock_cycle: 备货周期
min_purchase: 最低进货量
- product_no: 商品编号
+ product_no: 商品编号
+ out_nums:
@@ -0,0 +1,11 @@
+# This migration and CreateVersionAssociations provide the necessary
+# schema for tracking associations.
+class AddOutNumsColumnToProducts < ActiveRecord::Migration
+ def self.up
+ add_column :products, :out_nums, :integer, :limit => 11, :default => 0
+ end
+
+ def self.down
+ remove_column :products, :out_nums
+end