migration: use SA boolean value for server_default

This commit is contained in:
Jimmy Zelinskie 2015-05-15 19:04:54 -04:00
parent 05e2bdbd02
commit 3daa0e6a52

View file

@ -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 ###