Skip to content

Commit

Permalink
Merge pull request #100 from SunbirdAI/solving-google-auth-bug
Browse files Browse the repository at this point in the history
Solving google auth bug
  • Loading branch information
evie-8 authored Dec 13, 2024
2 parents 25e6bd6 + cf0a90b commit 2a553a3
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@
def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.alter_column('users', 'oauth_type',
existing_type=sa.VARCHAR(),
nullable=True)
existing_type=sa.VARCHAR(),
nullable=True)
# ### end Alembic commands ###
op.execute("UPDATE users SET oauth_type = Credentials")


def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.alter_column('users', 'oauth_type',
existing_type=sa.VARCHAR(),
nullable=False)
existing_type=sa.VARCHAR(),
nullable=False)
# ### end Alembic commands ###

0 comments on commit 2a553a3

Please sign in to comment.