migration: server_default for boolean field

This commit is contained in:
Jimmy Zelinskie 2015-05-15 17:04:50 -04:00
parent 86f400fdf5
commit e12d5af52c

View file

@ -16,7 +16,7 @@ import sqlalchemy as sa
def upgrade(tables): def upgrade(tables):
### commands auto generated by Alembic - please adjust! ### ### commands auto generated by Alembic - please adjust! ###
op.add_column('repositorytag', sa.Column('reversion', sa.Boolean(), nullable=False, default=False)) op.add_column('repositorytag', sa.Column('reversion', sa.Boolean(), nullable=False, server_default=False))
### end Alembic commands ### ### end Alembic commands ###