5 changed files with 48 additions and 11 deletions
@ -0,0 +1,12 @@ |
|||
ALTER TABLE `act_read_record` |
|||
MODIFY COLUMN `READ_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'un_read' COMMENT '活动关闭前已读:read;未读:un_read' AFTER `GROUP_ACT_ID`, |
|||
ADD COLUMN `VIEW_DETAIL` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '已读:read未读:un_read;' AFTER `READ_FLAG`; |
|||
|
|||
UPDATE act_read_record set VIEW_DETAIL = READ_FLAG; |
|||
|
|||
|
|||
ALTER TABLE `notice_read_record` |
|||
MODIFY COLUMN `READ_FLAG` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'unread' COMMENT '(通知过期前的阅读状态)read已读、un_read未读' AFTER `USER_ID`, |
|||
ADD COLUMN `VIEW_DETAIL` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '(通知过期后的阅读状态)已读:read未读:un_read;' AFTER `READ_FLAG`; |
|||
|
|||
UPDATE notice_read_record set VIEW_DETAIL = READ_FLAG; |
Loading…
Reference in new issue