Skip to content

Conversation

@markstory
Copy link
Member

Redo this change as it was reverted due to gaps in the control silo deployment pipeline that didn't run migrations. This migration will have run in development environment, and once the control silo migration pipeline is fixed, I'll get a new migration number and use a SeparateDatabaseAndState migration to handle this scenario.

Reapply "feat(cells) Add date_updated to organizationmapping (#103772)"

This reverts commit 94e744c.

Refs INFRENG-172

@markstory markstory requested a review from a team as a code owner November 24, 2025 19:55
@linear
Copy link

linear bot commented Nov 24, 2025

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 24, 2025
@github-actions

This comment was marked as outdated.

Redo this change as it was reverted due to gaps in the control silo
deployment pipeline that didn't run migrations. This migration will have
run in development environment, and once the control silo migration
pipeline is fixed, I'll get a new migration number and use
a `SeparateDatabaseAndState` migration to handle this scenario.

Reapply "feat(cells) Add date_updated to organizationmapping (#103772)"

This reverts commit 94e744c.

Refs INFRENG-172
@github-actions
Copy link
Contributor

This PR has a migration; here is the generated SQL for src/sentry/migrations/1009_add_date_updated_to_organizationmapping.py

for 1009_add_date_updated_to_organizationmapping in sentry

--
-- Raw SQL operation
--

            ALTER TABLE "sentry_organizationmapping" DROP COLUMN IF EXISTS "date_updated";
            
--
-- Add field date_updated to organizationmapping
--
ALTER TABLE "sentry_organizationmapping" ADD COLUMN "date_updated" timestamp with time zone DEFAULT (STATEMENT_TIMESTAMP()) NOT NULL;
CREATE INDEX CONCURRENTLY "sentry_organizationmapping_date_updated_cb5e0369" ON "sentry_organizationmapping" ("date_updated");

@markstory markstory merged commit 57694aa into master Nov 28, 2025
67 checks passed
@markstory markstory deleted the org-mapping-redo branch November 28, 2025 15:01
roaga pushed a commit that referenced this pull request Dec 2, 2025
Redo this change as it was reverted due to gaps in the control silo
deployment pipeline that didn't run migrations. This migration will have
run in development environment, and once the control silo migration
pipeline is fixed, I'll get a new migration number and use a
`SeparateDatabaseAndState` migration to handle this scenario.

Reapply "feat(cells) Add date_updated to organizationmapping (#103772)"

This reverts commit 94e744c.

Refs INFRENG-172
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