150_account_group_scheduler_indexes_notx.sql 277 B

12345
  1. CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_account_groups_group_priority_account
  2. ON account_groups (group_id, priority, account_id);
  3. CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_account_groups_account_priority_group
  4. ON account_groups (account_id, priority, group_id);