修改自动推广的相关任务 退订相关
This commit is contained in:
9
sql/add_unsubscribed_to_expert.sql
Normal file
9
sql/add_unsubscribed_to_expert.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
-- 退订功能:t_expert 增加退订标记
|
||||
-- 用户已手动新增 unsubscribed 字段,以下为完整建议建表语句(含索引)
|
||||
-- 0=正常 1=已退订;选人时统一过滤 unsubscribed=0
|
||||
|
||||
ALTER TABLE `t_expert`
|
||||
ADD COLUMN `unsubscribed` TINYINT NOT NULL DEFAULT 0 COMMENT '0正常 1已退订' AFTER `state`;
|
||||
|
||||
ALTER TABLE `t_expert`
|
||||
ADD INDEX `idx_unsubscribed` (`unsubscribed`);
|
||||
Reference in New Issue
Block a user