-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: add missing postgres indexes #3910
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
DROP INDEX IF EXISTS "public"."bops_applications_session_id"; | ||
DROP INDEX IF EXISTS "public"."uniform_applications_session_id_idx"; | ||
DROP INDEX IF EXISTS "public"."email_applications_session_id_idx"; | ||
DROP INDEX IF EXISTS "public"."s3_applications_session_id_idx"; | ||
DROP INDEX IF EXISTS "public"."feedback_flow_id_team_id_idx"; | ||
DROP INDEX IF EXISTS "public"."reconciliation_requests_session_id_idx"; | ||
DROP INDEX IF EXISTS "public"."published_flows_created_at_idx"; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
CREATE INDEX "bops_applications_session_id_idx" on | ||
"public"."bops_applications" using hash ("session_id"); | ||
CREATE INDEX "uniform_applications_session_id_idx" on | ||
"public"."uniform_applications" using hash ("submission_reference"); | ||
CREATE INDEX "email_applications_session_id_idx" on | ||
"public"."email_applications" using hash ("session_id"); | ||
CREATE INDEX "s3_applications_session_id_idx" on | ||
"public"."s3_applications" using hash ("session_id"); | ||
CREATE INDEX "feedback_flow_id_team_id_idx" on | ||
"public"."feedback" using btree ("team_id", "flow_id"); | ||
CREATE INDEX "reconciliation_requests_session_id_idx" on | ||
"public"."reconciliation_requests" using hash ("session_id"); | ||
CREATE INDEX "published_flows_created_at_idx" on | ||
"public"."published_flows" using btree ("created_at"); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A couple notes about this migration:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It may also be worth adding a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is only formatting changes 🌀