Skip to content

Commit

Permalink
fix(admin): users_usage crash on migrations (#1429)
Browse files Browse the repository at this point in the history
  • Loading branch information
ImMohammad20000 authored Nov 13, 2024
1 parent c3f4b60 commit a1cbca2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('admins', sa.Column('users_usage', sa.BigInteger(), nullable=False))
op.add_column('admins', sa.Column('users_usage', sa.BigInteger(), nullable=False, server_default="0"))
# ### end Alembic commands ###


Expand Down

0 comments on commit a1cbca2

Please sign in to comment.