Skip to content
Snippets Groups Projects
Commit 67ec10a9 authored by Administrator's avatar Administrator
Browse files

Do not allow NULL on protocol.done

parent d403aeba
No related branches found
No related tags found
No related merge requests found
"""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 ###
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment