|
|
|
@ -120,5 +120,22 @@ ALTER TABLE `cashback_draw_deposits`
|
|
|
|
|
ALTER TABLE `sys_clients`
|
|
|
|
|
ADD COLUMN `local_merchant` tinyint(1) DEFAULT 0;
|
|
|
|
|
|
|
|
|
|
--用户画像
|
|
|
|
|
|
|
|
|
|
ALTER TABLE sys_clients_customers ADD COLUMN headimg VARCHAR(200) DEFAULT NULL COMMENT '头像地址';
|
|
|
|
|
|
|
|
|
|
ALTER TABLE sys_clients_customers ADD COLUMN nick_name VARCHAR(80) DEFAULT NULL COMMENT '昵称';
|
|
|
|
|
|
|
|
|
|
ALTER TABLE sys_clients_customers ADD COLUMN tag VARCHAR(100) DEFAULT NULL COMMENT '标签';
|
|
|
|
|
|
|
|
|
|
ALTER TABLE sys_clients_customers ADD COLUMN payment_times INT DEFAULT 1 COMMENT '消费次数';
|
|
|
|
|
|
|
|
|
|
ALTER TABLE sys_clients_customers ADD COLUMN total_amount decimal(10 , 2) DEFAULT NULL COMMENT '消费总金额';
|
|
|
|
|
|
|
|
|
|
ALTER TABLE sys_clients_customers ADD COLUMN update_time datetime default NULL COMMENT '创建时间';
|
|
|
|
|
|
|
|
|
|
ALTER TABLE sys_clients_customers ADD COLUMN channel varchar(15) not NULL ;
|
|
|
|
|
|
|
|
|
|
ALTER TABLE sys_clients_customers ADD COLUMN last_payment_time datetime DEFAULT NULL COMMENT '最后一次付款时间';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|