migration: server_default for boolean field
This commit is contained in:
parent
86f400fdf5
commit
e12d5af52c
1 changed files with 1 additions and 1 deletions
|
@ -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 ###
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue