Commit 67ec10a9 authored by Administrator's avatar Administrator
Browse files

Do not allow NULL on protocol.done

parent d403aeba
"""empty message
Revision ID: 4e472894cc70
Revises: 6a86c1d5682f
Create Date: 2017-04-10 17:40:19.149529
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '4e472894cc70'
down_revision = '6a86c1d5682f'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.alter_column('protocols', 'done',
existing_type=sa.BOOLEAN(),
nullable=False)
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.alter_column('protocols', 'done',
existing_type=sa.BOOLEAN(),
nullable=True)
# ### end Alembic commands ###
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment