Skip to content

Commit

Permalink
Drop duplicate index
Browse files Browse the repository at this point in the history
  • Loading branch information
pconstantinou committed Feb 16, 2024
1 parent 8b68a09 commit a971e9c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
CREATE UNIQUE INDEX IF NOT EXISTS neoq_jobs_fingerprint_run_unique_idx ON neoq_jobs (queue, fingerprint, status, ran_at);
DROP INDEX neoq_jobs_fingerprint_unique_idx;
CREATE UNIQUE INDEX IF NOT EXISTS neoq_jobs_fingerprint_unique_idx ON neoq_jobs (queue, fingerprint, status) WHERE NOT (status = 'processed');
CREATE UNIQUE INDEX IF NOT EXISTS neoq_jobs_fingerprint_run_unique_idx ON neoq_jobs (queue, status, fingerprint, ran_at);

0 comments on commit a971e9c

Please sign in to comment.