Skip to content

chore: Complete removal of ProjectTemplate models#110048

Merged
markstory merged 3 commits into
masterfrom
chore-projecttemplate-migration
Mar 6, 2026
Merged

chore: Complete removal of ProjectTemplate models#110048
markstory merged 3 commits into
masterfrom
chore-projecttemplate-migration

Conversation

@markstory
Copy link
Copy Markdown
Member

Remove the columns and tables for real

Remove the columns and tables for real
@markstory markstory requested a review from a team as a code owner March 6, 2026 15:55
@markstory markstory requested a review from a team March 6, 2026 15:55
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 6, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 6, 2026

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

for 1045_projecttemplate_cleanup in sentry

--
-- Remove field template from project
--
ALTER TABLE "sentry_project" DROP COLUMN "template_id" CASCADE;
--
-- Delete model ProjectTemplateOption
--
DROP TABLE "sentry_projecttemplateoption" CASCADE;
--
-- Delete model ProjectTemplate
--
DROP TABLE "sentry_projecttemplate" CASCADE;

@markstory markstory requested a review from a team as a code owner March 6, 2026 17:36
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 6, 2026

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

for 1046_projecttemplate_cleanup in sentry

--
-- Remove field template from project
--
ALTER TABLE "sentry_project" DROP COLUMN "template_id" CASCADE;
--
-- Delete model ProjectTemplateOption
--
DROP TABLE "sentry_projecttemplateoption" CASCADE;
--
-- Delete model ProjectTemplate
--
DROP TABLE "sentry_projecttemplate" CASCADE;

@markstory markstory merged commit 2681451 into master Mar 6, 2026
77 checks passed
@markstory markstory deleted the chore-projecttemplate-migration branch March 6, 2026 20:41
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants