-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add index for run id lookup in response-consumer (#369)
* Add index for run id lookup in response-consumer
- Loading branch information
Showing
2 changed files
with
3 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
migrations/015_add_index-org-id_correlation-id_playbook-run.down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DROP INDEX CONCURRENTLY IF EXISTS runs_org_id_correlation_id_run_id_index; |
2 changes: 2 additions & 0 deletions
2
migrations/015_add_index-org-id_correlation-id_playbook-run.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CREATE INDEX CONCURRENTLY IF NOT EXISTS runs_org_id_correlation_id_run_id_index ON runs (org_id, correlation_id, id); | ||
|