Skip to content

Commit

Permalink
Delete duplicate migration file
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherSpelt committed Nov 11, 2024
1 parent 8dea2c2 commit c0dc76b
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@


def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
#with op.batch_alter_table("task", schema=None) as batch_op:
# batch_op.alter_column("user_id", existing_type=sa.INTEGER(), type_=sa.UUID(), existing_nullable=True)
#with op.batch_alter_table("user", schema=None) as batch_op:
# batch_op.alter_column("id", existing_type=sa.INTEGER(), type_=sa.UUID(), existing_nullable=False)
### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table("task", schema=None) as batch_op:
batch_op.alter_column("user_id", existing_type=sa.INTEGER(), type_=sa.UUID(), existing_nullable=True)
with op.batch_alter_table("user", schema=None) as batch_op:
batch_op.alter_column("id", existing_type=sa.INTEGER(), type_=sa.UUID(), existing_nullable=False)
op.drop_column("user", "avatar")
# ### end Alembic commands ###

Expand Down

0 comments on commit c0dc76b

Please sign in to comment.