<filename>api/alembic/versions/20200316_412d77eead11.py
"""make complete false and body non nullable

Revision ID: 412d77eead11
Revises: <PASSWORD>
Create Date: 2020-03-16 08:58:47.551473

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '4<PASSWORD>'
down_revision = '<PASSWORD>'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.alter_column('todos', 'body',
               existing_type=sa.TEXT(),
               nullable=False)
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.alter_column('todos', 'body',
               existing_type=sa.TEXT(),
               nullable=True)
    # ### end Alembic commands ###

<filename>api/alembic/versions/20200316_412d77eead11.py
"""make complete false and body non nullable

Revision ID: 412d77eead11
Revises: <PASSWORD>
Create Date: 2020-03-16 08:58:47.551473

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '4<PASSWORD>'
down_revision = '<PASSWORD>'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.alter_column('todos', 'body',
               existing_type=sa.TEXT(),
               nullable=False)
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.alter_column('todos', 'body',
               existing_type=sa.TEXT(),
               nullable=True)
    # ### end Alembic commands ###

make complete false and body non nullable  Revision ID: 412d77eead11 Revises: <PASSWORD> Create Date: 2020-03-16 08:58:47.551473 # revision identifiers, used by Alembic. # ### commands auto generated by Alembic - please adjust! ### # ### end Alembic commands ### # ### commands auto generated by Alembic - please adjust! ### # ### end Alembic commands ###