master
wangning 6 years ago
parent 54ee965213
commit 2cd21677b4

@ -560,9 +560,17 @@ alter table sys_client_pre_apply add column `password_aes` varchar(50) NOT NULL
alter table sys_client_pre_apply add column apply_source varchar(10) default null COMMENT '申请渠道';
create table sys_mail_sub(
mail_address varchar(50) not null,
client_id int(11) NOT NULL,
client_moniker varchar(20) NOT NULL,
create_time TIMESTAMP not null DEFAULT now()
);
CREATE TABLE `sys_mail_unsub` (
`id` bigint(20) NOT NULL,
`address` varchar(50) NOT NULL,
`client_id` int(11) NOT NULL,
`client_moniker` varchar(20) NOT NULL,
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='邮箱取消订阅';
alter table sys_clients add column ali_sub_merchant_id varchar(20) DEFAULT NULL;
update sys_clients set ali_sub_merchant_id = client_moniker;

Loading…
Cancel
Save