app/migrations/versions/2020_032216_541ce53ab6e9_.py
2020-03-22 16:51:21 +01:00

33 lines
816 B
Python

"""empty message
Revision ID: 541ce53ab6e9
Revises: 30c13ca016e4
Create Date: 2020-03-22 16:51:01.141010
"""
import sqlalchemy_utils
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '541ce53ab6e9'
down_revision = '30c13ca016e4'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.alter_column('refused_email', 'path',
existing_type=sa.VARCHAR(length=128),
nullable=True)
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.alter_column('refused_email', 'path',
existing_type=sa.VARCHAR(length=128),
nullable=False)
# ### end Alembic commands ###