add gao user notify

This commit is contained in:
Timi
2026-08-25 22:55:18 +08:00
parent 9f884e2b74
commit d747a0fdae
14 changed files with 520 additions and 34 deletions
@@ -0,0 +1,6 @@
ALTER TABLE `notify`
ADD INDEX `idx_created_by_created`(`created_by` ASC, `created_at` DESC) USING BTREE;
ALTER TABLE `notify_detail`
ADD INDEX `idx_notify_send_from_deleted`(`notify_id` ASC, `send_from` ASC, `deleted_at` ASC) USING BTREE,
ADD INDEX `idx_internal_user_send_at`(`msg_type` ASC, `send_to` ASC, `send_at` ASC, `deleted_at` ASC) USING BTREE;