Skip to content

ref: fix nullability of requires_org_level_access #91694

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

Conversation

asottile-sentry
Copy link
Member

column was erroneously added as nullable mismatching the schema

~100k rows, 0 nulls

column was erroneously added as nullable mismatching the schema

~100k rows, 0 nulls
@asottile-sentry asottile-sentry requested a review from a team as a code owner May 15, 2025 04:33
@asottile-sentry asottile-sentry enabled auto-merge (squash) May 15, 2025 04:33
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label May 15, 2025
Copy link
Contributor

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

for 0896_org_level_access_not_null in sentry

--
-- Raw SQL operation
--

            ALTER TABLE sentry_apiapplication
            ALTER COLUMN requires_org_level_access SET NOT NULL
            ;

Copy link
Member

@armenzg armenzg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@asottile-sentry asottile-sentry merged commit 9855231 into master May 15, 2025
61 checks passed
@asottile-sentry asottile-sentry deleted the asottile-apiapplication-requires-org-level-access-nullability branch May 15, 2025 14:44
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.

2 participants