优化账号分组调度索引

This commit is contained in:
jjaw committed 2026-06-10 00:59:50 +08:00
1 parent 63d95b4ec7
commit 30c00a91d8
1 file changed
+5
@@ -0,0 +1,5 @@
CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_account_groups_group_priority_account
ON account_groups (group_id, priority, account_id);
CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_account_groups_account_priority_group
ON account_groups (account_id, priority, group_id);