Skip to content

Commit

Permalink
Ensures the rotation has a value during migration. (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgliss authored Mar 3, 2017
1 parent 310e1d4 commit c46fa5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lemur/migrations/versions/131ec6accff5_.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('certificates', sa.Column('rotation', sa.Boolean(), nullable=True))
op.add_column('certificates', sa.Column('rotation', sa.Boolean(), nullable=False, server_default=False))
op.add_column('endpoints', sa.Column('last_updated', sa.DateTime(), server_default=sa.text('now()'), nullable=False))
# ### end Alembic commands ###

Expand Down

0 comments on commit c46fa5d

Please sign in to comment.