migration: use SA boolean value for server_default
This commit is contained in:
parent
05e2bdbd02
commit
3daa0e6a52
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ import sqlalchemy as sa
|
|||
|
||||
def upgrade(tables):
|
||||
### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('repositorytag', sa.Column('reversion', sa.Boolean(), nullable=False, server_default=False))
|
||||
op.add_column('repositorytag', sa.Column('reversion', sa.Boolean(), nullable=False, server_default=sa.sql.expression.false()))
|
||||
### end Alembic commands ###
|
||||
|
||||
|
||||
|
|
Reference in a new issue