"""plugin is null

Revision ID: 5c86366d5292
Revises: f14379ebb81d
Create Date: 2021-11-01 17:18:11.749535

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '5c86366d5292'
down_revision = 'f14379ebb81d'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.alter_column('cmf_plugin_telphin', 'plugin_id',
               existing_type=sa.VARCHAR(length=64),
               nullable=True)
    op.alter_column('cmf_plugin_zadarma', 'plugin_id',
               existing_type=sa.VARCHAR(length=64),
               nullable=True)
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.alter_column('cmf_plugin_zadarma', 'plugin_id',
               existing_type=sa.VARCHAR(length=64),
               nullable=False)
    op.alter_column('cmf_plugin_telphin', 'plugin_id',
               existing_type=sa.VARCHAR(length=64),
               nullable=False)
    # ### end Alembic commands ###
