-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
ref: create project_id index for organizationonboardingtask #91918
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
the index is (manually) present in US in production and mandated by the current model definition. it was missed when converting from an integer column to a primary key
|
||
operations = [ | ||
SafeRunSQL( | ||
'CREATE INDEX CONCURRENTLY "sentry_organizationonboardingtask_project_id_bba0eae8" ON "sentry_organizationonboardingtask" ("project_id");', |
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 is what django thinks it should be called (forced by removing and re-adding db_index=...
)
This PR has a migration; here is the generated SQL for for --
-- Raw SQL operation
--
CREATE INDEX CONCURRENTLY "sentry_organizationonboardingtask_project_id_bba0eae8" ON "sentry_organizationonboardingtask" ("project_id");
--
-- Raw SQL operation
--
DROP INDEX CONCURRENTLY IF EXISTS sentry_organizationonboardingtask_project_id_jtcunning; |
Codecov ReportAll modified and coverable lines are covered by tests ✅
|
* master: (58 commits) link: cleanup link (#91687) ref: create project_id index for organizationonboardingtask (#91918) storybook: smaller last edited (#91875) issues: fix chonk stacktrace alignment (#91891) alert: drop custom alert (#91892) insights: fix bar height (#91895) ref(span-buffer): Move max-memory-percentage to right CLI (#91924) ref(js): Factor button functionality (#91763) tests(resolve_groups): Clean up the tests (#91779) ref(span-buffer): Add backpressure (#91707) fix(nextjs-insights): project id is not passed to explore link (#91920) fix(crons): Floor seconds / microsecond on recorded dateClock (#91890) fix(uptime): Fix bug with the uptime_checks dataset in the events endpoint (#91824) ref: add state-only migration to reflect existing indexes in prod (#91901) ref: remove unnecssary metaclass (#91906) fix(stats): use data category title name (#91913) feat(issues): Add success messages to some actions (#91899) test(taskworker): Lower exec time (#91907) chore(aci): manually add spans for delayed workflow processing (#91908) chore(aci): remove uses of WorkflowFireHistory rollout columns (#91904) ...
the index is (manually) present in US in production and mandated by the current model definition. it was missed when converting from an integer column to a primary key <!-- Describe your PR here. -->
the index is (manually) present in US in production and mandated by the current model definition. it was missed when converting from an integer column to a primary key