ref(models): Delete CodeReviewEvent table [2/3]#109422
Draft
vaind wants to merge 1 commit intoref/delete-code-review-event-pendingfrom
Draft
ref(models): Delete CodeReviewEvent table [2/3]#109422vaind wants to merge 1 commit intoref/delete-code-review-event-pendingfrom
vaind wants to merge 1 commit intoref/delete-code-review-event-pendingfrom
Conversation
f80c6c9 to
7e4c976
Compare
wedamija
approved these changes
Feb 26, 2026
Contributor
|
This PR has a migration; here is the generated SQL for for --
-- Moved model CodeReviewEvent to pending deletion state
--
-- (no-op)for --
-- Delete model CodeReviewEvent
--
DROP TABLE "sentry_code_review_event" CASCADE; |
Drop the sentry_code_review_event table. This is the second step of the safe deletion process (MOVE_TO_PENDING was in the previous migration). The table will be recreated with an updated schema in a follow-up PR. Co-Authored-By: Claude <noreply@anthropic.com>
7e4c976 to
756b38d
Compare
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.
Drop the
sentry_code_review_eventtable. This is the second step of the safe deletion process.Stacked on #109420 (pending delete). Retarget to
masterafter PR 1 merges.This is PR 2 of 3:
SafeDeleteModelwithMOVE_TO_PENDING(removes model from Django state)SafeDeleteModelwithDELETE(drops the table)