"""cmf_role_email

Revision ID: f68abfcc3491
Revises: 94ca38358382
Create Date: 2022-03-14 16:43:09.542259

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'f68abfcc3491'
down_revision = '94ca38358382'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('cmf_role', sa.Column('email', sa.String(length=64), nullable=True))
    op.create_index(op.f('ix_cmf_role_email'), 'cmf_role', ['email'], unique=False)
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_index(op.f('ix_cmf_role_email'), table_name='cmf_role')
    op.drop_column('cmf_role', 'email')
    # ### end Alembic commands ###
