Mark the next attempt foreign key as initially not valid
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user