Skip to content

Commit

Permalink
Merge pull request #277 from peopledoc/missing-index-273
Browse files Browse the repository at this point in the history
Add missing index to procrastinate_periodic_defers
Joachim Jablon authored Jul 17, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 2095ec9 + 2158685 commit e691ea7
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CREATE INDEX procrastinate_periodic_defers_job_id_fkey ON procrastinate_periodic_defers(job_id);
2 changes: 2 additions & 0 deletions procrastinate/sql/schema.sql
Original file line number Diff line number Diff line change
@@ -59,6 +59,8 @@ CREATE UNIQUE INDEX procrastinate_jobs_lock_idx ON procrastinate_jobs (lock) WHE

CREATE INDEX procrastinate_jobs_queue_name_idx ON procrastinate_jobs(queue_name);
CREATE INDEX procrastinate_events_job_id_fkey ON procrastinate_events(job_id);
CREATE INDEX procrastinate_periodic_defers_job_id_fkey ON procrastinate_periodic_defers(job_id);


-- Functions

0 comments on commit e691ea7

Please sign in to comment.