-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase backend health timeout + drop index before creating a new on…
…e to save disc space (#3163)
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
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
2 changes: 1 addition & 1 deletion
2
...resources/db/migration/V1.107.0__RHCLOUD-36536_update_indexes_for_notification_drawer.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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
CREATE INDEX ix_drawer_notification_org_id_user_id_read_created_event_id ON drawer_notification (org_id, user_id, read, created DESC, event_id); | ||
DROP INDEX ix_drawer_notification_org_id_user_id_created_read_event_id; | ||
CREATE INDEX ix_drawer_notification_org_id_user_id_read_created_event_id ON drawer_notification (org_id, user_id, read, created DESC, event_id); |