@@ -30,7 +30,7 @@ class CreateProductAttrs < ActiveRecord::Migration
# 规格ID
t.column :attr_key_id, :integer, :limit => 8, :default => 0
# 类型
- t.column :size_type, :integer, :limit => 8, :default => 0
+ t.column :size_type, :string, :limit => 64
t.timestamps
end