Skip to content

🔧 chore(data-secrecy v2): prep DataSecrecyWaiver model to be deleted #95393

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: raj/ds-v2/deprecate-v1/rpc
Choose a base branch
from

Conversation

iamrajjoshi
Copy link
Member

Before we start building Data Secrecy V2, lets first remove the old models and logic. Currently there are no waivers being created so its safe to remove this logic.

contributes to ECO-824

Sets the org FK to not be a db constraint.

@iamrajjoshi iamrajjoshi self-assigned this Jul 11, 2025
@iamrajjoshi iamrajjoshi requested review from a team as code owners July 11, 2025 23:18
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 11, 2025
Copy link
Contributor

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

for 0947_ds_waiver_org_fk_not_db_constr in sentry

--
-- Alter field organization on datasecrecywaiver
--
SET CONSTRAINTS "sentry_datasecrecywa_organization_id_e6f91a82_fk_sentry_or" IMMEDIATE; ALTER TABLE "sentry_datasecrecywaiver" DROP CONSTRAINT "sentry_datasecrecywa_organization_id_e6f91a82_fk_sentry_or";

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.

1 participant