Skip to content

[oidc] Remove User.has_oidc_beta_access column #13461

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

Merged
merged 2 commits into from
Apr 20, 2023

Conversation

di
Copy link
Member

@di di commented Apr 20, 2023

Follow-on to #13460.

@di di requested a review from a team as a code owner April 20, 2023 17:41
@di di changed the title Remove User.has_oidc_beta_access column [oidc] Remove User.has_oidc_beta_access column Apr 20, 2023
Copy link
Member

@miketheman miketheman left a comment

Choose a reason for hiding this comment

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

Non blocking comment. Good to go after the other PR is deployed fully.


def upgrade():
conn = op.get_bind()
conn.execute("SET statement_timeout = 120000")
Copy link
Member

Choose a reason for hiding this comment

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

Do you expect a DROP COLUMN to take a long time? In a particularly busy table, I guess getting a lock might take a while, but is users updated that much?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't, but I figure this doesn't hurt given recent lock contention.

@di di force-pushed the remove-has_oidc_beta_access-column branch from f04c612 to a1c101e Compare April 20, 2023 18:49
@di di merged commit 0159ec9 into pypi:main Apr 20, 2023
@di di deleted the remove-has_oidc_beta_access-column branch April 20, 2023 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants