Skip to content

chore(control): actually drop OrganizationMemberTeamReplica #120167

Open
strongs wants to merge 1 commit into
strongs/drop-organizationmemberteamreplicafrom
strongs/actually-drop-organizationmemberteamreplica
Open

chore(control): actually drop OrganizationMemberTeamReplica #120167
strongs wants to merge 1 commit into
strongs/drop-organizationmemberteamreplicafrom
strongs/actually-drop-organizationmemberteamreplica

Conversation

@strongs

@strongs strongs commented Jul 21, 2026

Copy link
Copy Markdown
Member

Step 5 of 5, the final change tearing out the dead TeamReplica table. Now that the table has been moved to pending-deletion state (Step 4), this actually drops it.

Refs INFRENG-369

…table

Step 5 of 5 in tearing out the dead OrganizationMemberTeamReplica table:
drop the pending table. Separate deploy from the Step 4 pending migration.

Co-Authored-By: Claude <noreply@anthropic.com>
@strongs
strongs requested a review from a team as a code owner July 21, 2026 00:02
@linear-code

linear-code Bot commented Jul 21, 2026

Copy link
Copy Markdown

INFRENG-369

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR has a migration; here is the generated SQL for src/sentry/migrations/1141_remove_organizationmemberteamreplica_pending.py src/sentry/migrations/1142_delete_organizationmemberteamreplica.py

for 1141_remove_organizationmemberteamreplica_pending in sentry

--
-- Moved model OrganizationMemberTeamReplica to pending deletion state
--
-- (no-op)

for 1142_delete_organizationmemberteamreplica in sentry

--
-- Delete model OrganizationMemberTeamReplica
--
DROP TABLE "sentry_organizationmember_teamsreplica" CASCADE;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants