Skip to content

Commit 0c32209

Browse files
committed
feat: Make fingerprint unique to each queue
1 parent 9a555f1 commit 0c32209

2 files changed

+2
-0
lines changed

backends/postgres/migrations/20240302172413_make_fingerprints_unique_to_each_queue.down.sql

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
DROP INDEX IF EXISTS neoq_jobs_fingerprint_unique_idx;
2+
CREATE UNIQUE INDEX IF NOT EXISTS neoq_jobs_fingerprint_unique_idx ON neoq_jobs (queue, fingerprint, status) WHERE NOT (status = 'processed');

0 commit comments

Comments
 (0)