|
@@ -4,7 +4,7 @@ class CreateProfitUsers < ActiveRecord::Migration
|
|
|
#分佣方管理
|
|
#分佣方管理
|
|
|
create_table :profit_users do |t|
|
|
create_table :profit_users do |t|
|
|
|
#微信ID
|
|
#微信ID
|
|
|
- t.column :wx_user_id,:string
|
|
|
|
|
|
|
+ t.column :wx_user_id, :integer,:null=>false, :default => 0
|
|
|
#openId
|
|
#openId
|
|
|
t.column :openid,:string
|
|
t.column :openid,:string
|
|
|
t.timestamps
|
|
t.timestamps
|