docs(sql): add oa_task is_read columns for CC unread badge.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-08-06 12:01:14 +08:00
1 parent 6fd23303d2
commit 39892c6dc0
2 files changed
+9 -74

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
-- OA 抄送任务已读标记(oa_task)
-- MySQL 5.7 / utf8mb4
-- 历史数据全部视为未读(DEFAULT 0)
ALTER TABLE `oa_task`
ADD COLUMN `is_read` TINYINT NOT NULL DEFAULT 0 COMMENT '抄送是否已读 0未读 1已读' AFTER `round_no`,
ADD COLUMN `read_time` DATETIME NULL DEFAULT NULL COMMENT '抄送首次已读时间' AFTER `is_read`;