Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
rv0lt committed Dec 13, 2024
1 parent 13bc6de commit 260b2e9
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,14 @@

def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
unit_table = sa.sql.table("units", sa.sql.column("contact_email", mysql.TINYINT(display_width=1)))
op.execute(unit_table.update().where(unit_table.c.contact_email == None).values(contact_email="[email protected]"))
unit_table = sa.sql.table(
"units", sa.sql.column("contact_email", mysql.TINYINT(display_width=1))
)
op.execute(
unit_table.update()
.where(unit_table.c.contact_email == None)
.values(contact_email="[email protected]")
)
op.alter_column(
"units",
"contact_email",
Expand Down

0 comments on commit 260b2e9

Please sign in to comment.