"""shadow_link_add_name

Revision ID: 81037fe72b15
Revises: 8a0af9d54574
Create Date: 2022-06-17 11:30:51.884914

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '81037fe72b15'
down_revision = 'f7106986a217'
branch_labels = None
depends_on = None


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


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