server_default from "False" to sa.false() (#913)

This commit is contained in:
Rick Breidenstein 2017-09-11 12:19:19 -04:00 committed by kevgliss
parent 2ecfaa41cf
commit fc9b1e5b12
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ import sqlalchemy as sa
def upgrade(): def upgrade():
# ### commands auto generated by Alembic - please adjust! ### # ### commands auto generated by Alembic - please adjust! ###
op.add_column('certificates', sa.Column('rotation', sa.Boolean(), nullable=False, server_default=False)) op.add_column('certificates', sa.Column('rotation', sa.Boolean(), nullable=False, server_default=sa.false()))
op.add_column('endpoints', sa.Column('last_updated', sa.DateTime(), server_default=sa.text('now()'), nullable=False)) op.add_column('endpoints', sa.Column('last_updated', sa.DateTime(), server_default=sa.text('now()'), nullable=False))
# ### end Alembic commands ### # ### end Alembic commands ###