Mark the next attempt foreign key as initially not valid

This commit is contained in:
Quentin Gliech
2026-01-19 15:44:22 +01:00
parent 1253bbd498
commit 1254d9f8f0

View File

@@ -10,4 +10,5 @@ ALTER TABLE queue_jobs
ADD CONSTRAINT queue_jobs_next_attempt_id_fkey
FOREIGN KEY (next_attempt_id)
REFERENCES queue_jobs (queue_job_id)
ON DELETE SET NULL;
ON DELETE SET NULL
NOT VALID;