Skip to content

Commit

Permalink
indexes for submissions table
Browse files Browse the repository at this point in the history
  • Loading branch information
Kriptikz committed Sep 18, 2024
1 parent 0d86be0 commit 0ed03a0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE submissions DROP INDEX idx_submissions_challenge_id
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CREATE INDEX idx_submissions_challenge_id ON submissions (challenge_id)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE submissions DROP INDEX idx_submissions_miner_challenge
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CREATE INDEX idx_submissions_miner_challenge ON submissions (miner_id, challenge_id)

0 comments on commit 0ed03a0

Please sign in to comment.