Repository navigation
Conversation
shashjar
added this pull request to stack #128402
October 21, 2026 18:30
This was referenced Oct 21, 2026
Contributor
|
This PR has a migration; here is the generated SQL for for --
-- Alter field alert_rule on incident
--
SET CONSTRAINTS "sentry_incident_alert_rule_id_2f44ba42_fk_sentry_alertrule_id" IMMEDIATE; ALTER TABLE "sentry_incident" DROP CONSTRAINT "sentry_incident_alert_rule_id_2f44ba42_fk_sentry_alertrule_id";
--
-- Alter field organization on incident
--
SET CONSTRAINTS "sentry_incident_organization_id_6c154718_fk_sentry_or" IMMEDIATE; ALTER TABLE "sentry_incident" DROP CONSTRAINT "sentry_incident_organization_id_6c154718_fk_sentry_or";
--
-- Alter field subscription on incident
--
SET CONSTRAINTS "sentry_incident_subscription_id_ba61b3bb_fk_sentry_qu" IMMEDIATE; ALTER TABLE "sentry_incident" DROP CONSTRAINT "sentry_incident_subscription_id_ba61b3bb_fk_sentry_qu";for --
-- Moved model Incident to pending deletion state
--
-- (no-op) |
Incident model definition
wedamija
approved these changes
Oct 21, 2026
shashjar
marked this pull request as ready for review
October 21, 2026 18:48
shashjar
force-pushed
the
shashjar/iswf-3254-retire-incident-schema
branch
from
October 23, 2026 20:04
7bf8ccb to
4ebde72
Compare
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs https://linear.app/getsentry/issue/ISWF-3254/remove-incident-model.
Retire the remaining
Incidentmodel definition withSafeDeleteModel(MOVE_TO_PENDING). The PostgreSQL table and historical mappings remain intact.