|
@@ -30,7 +30,7 @@ class CreateLiveAwards < ActiveRecord::Migration
|
|
|
#收货地址
|
|
#收货地址
|
|
|
t.column :address, :string,:limit => 256
|
|
t.column :address, :string,:limit => 256
|
|
|
# 发放状态
|
|
# 发放状态
|
|
|
- t.column :is_more, :boolean, :default=>1
|
|
|
|
|
|
|
+ t.column :status, :boolean, :default=>1
|
|
|
t.timestamps
|
|
t.timestamps
|
|
|
end
|
|
end
|
|
|
add_index :live_awards, :wx_user_id
|
|
add_index :live_awards, :wx_user_id
|