mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-24 16:05:44 +08:00
Merge pull request #3186 from jianjianai/fix/account-group-scheduler-indexes
优化账号分组调度索引 / Add two concurrent composite indexes
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user