We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abe323b commit 14cc048Copy full SHA for 14cc048
1 file changed
src/migrations/20260226_01_WgYAV-queryindex.py
@@ -19,6 +19,7 @@
19
DROP INDEX CONCURRENTLY IF EXISTS leaderboard.idx_runs_valid_scores;
20
"""
21
),
22
+ # Secondary: index on submission.leaderboard_id
23
step(
24
25
CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_submission_leaderboard_id
@@ -28,6 +29,7 @@
28
29
DROP INDEX CONCURRENTLY IF EXISTS leaderboard.idx_submission_leaderboard_id;
30
31
32
+ # Secondary: index on submission.user_id
33
34
35
CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_submission_user_id
0 commit comments