"""empty message

Revision ID: 3850a2b469ae
Revises: 1843bb2d7b77
Create Date: 2020-12-18 11:59:52.888886

"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql

# revision identifiers, used by Alembic.
revision = '3850a2b469ae'
down_revision = '1843bb2d7b77'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.alter_column('cmf_activity', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_activity', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_activity', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_activity', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_activity', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_attachment', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_attachment', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_attachment', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_attachment', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_attachment', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_attachment', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_auth', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_auth', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_auth', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_auth', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_auth', 'groups',
               existing_type=mysql.VARCHAR(length=4096),
               type_=sa.TEXT(),
               existing_nullable=True)
    op.alter_column('cmf_auth', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_bill', 'activity_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'company_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_bill', 'parent_task_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'period_clone_from_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'project_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'responsible_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'status_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'tree_parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'waiting_for_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_executors', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_bill_executors', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_executors', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_executors', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_executors', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_related_objects', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_bill_related_objects', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_related_objects', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_related_objects', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_related_objects', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_spectators', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_bill_spectators', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_spectators', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_spectators', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_spectators', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_comment', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_comment', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_comment', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_comment', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_comment', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_comment', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_comment', 'tree_parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_company', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_company', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_company', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_company', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_company', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_currency', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_currency', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_currency', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_currency', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_currency', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_deal', 'activity_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'company_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_deal', 'parent_task_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'period_clone_from_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'project_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'responsible_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'status_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'tree_parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'waiting_for_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_executors', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_deal_executors', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_executors', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_executors', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_executors', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_related_objects', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_deal_related_objects', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_related_objects', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_related_objects', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_related_objects', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_spectators', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_deal_spectators', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_spectators', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_spectators', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_spectators', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'activity_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'company_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_document', 'parent_task_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'period_clone_from_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'project_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'responsible_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'status_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'tree_parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'waiting_for_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_executors', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_document_executors', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_executors', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_executors', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_executors', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_related_objects', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_document_related_objects', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_related_objects', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_related_objects', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_related_objects', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_spectators', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_document_spectators', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_spectators', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_spectators', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_spectators', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_event', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_event', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_event', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_event', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_event', 'event_person_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_event', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_event', 'object_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_event', 'view_object_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_feed', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_feed', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_feed', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_feed', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_feed', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_feed', 'tree_parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_feed_cmf_event', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_feed_cmf_event', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_feed_cmf_event', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_folder', 'activity_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_folder', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_folder', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_folder', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_folder', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_folder', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_folder', 'tree_parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_integration', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_integration', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_integration', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_integration', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_integration', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_job', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_job', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_job', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_job', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_job', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_kanban_status', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_kanban_status', 'project_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status', 'status_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status', 'work_list_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status_objects', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_kanban_status_objects', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status_objects', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status_objects', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status_objects', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'activity_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'company_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_lead', 'parent_task_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'period_clone_from_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'project_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'responsible_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'status_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'tree_parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'waiting_for_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_executors', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_lead_executors', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_executors', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_executors', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_executors', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_related_objects', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_lead_related_objects', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_related_objects', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_related_objects', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_related_objects', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_spectators', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_lead_spectators', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_spectators', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_spectators', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_spectators', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_org_unit', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_org_unit', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_org_unit', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_org_unit', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_org_unit', 'head_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_org_unit', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_org_unit', 'ou_parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person', 'activity_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person', 'company_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_person', 'project_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person_group', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person_group', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person_group', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person_group', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person_group', 'head_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person_group', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_person_group_rg_members', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_person_group_rg_members', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person_group_rg_members', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person_group_rg_members', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person_group_rg_members', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_plan', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_plan', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_plan', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_plan', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_plan', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_price', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_price', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_price', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_price', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_price', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_print_tmpl', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_print_tmpl', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_print_tmpl', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_print_tmpl', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_print_tmpl', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_product', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_product', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_product', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_product', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_product', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_product', 'unit_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project', 'activity_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_project_executors', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_project_executors', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project_executors', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project_executors', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project_executors', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project_spectators', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_project_spectators', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project_spectators', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project_spectators', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project_spectators', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_role', 'activity_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_role', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_role', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_role', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_role', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_role', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_role', 'job_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_role', 'ou_parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_role', 'person_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_role', 'supervisor_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_s_m_s', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_staff_control', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_staff_control', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_staff_control', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_staff_control', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_staff_control', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_staff_control', 'person_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_status', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_status', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_status', 'cmf_model_activity_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_status', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_status', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_status', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_subscription', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_subscription', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_subscription', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_subscription', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_subscription', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_chat_group', 'activity_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'company_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_chat_group', 'last_comment_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'last_topic_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'parent_task_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'period_clone_from_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'project_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'responsible_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'status_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'tree_parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'waiting_for_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_executors', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_chat_group_executors', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_executors', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_executors', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_executors', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_related_objects', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_chat_group_related_objects', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_related_objects', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_related_objects', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_related_objects', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_spectators', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_chat_group_spectators', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_spectators', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_spectators', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_spectators', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'activity_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'company_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'group_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_chat_topic', 'last_comment_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'parent_task_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'period_clone_from_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'project_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'responsible_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'status_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'tree_parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'waiting_for_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_executors', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_chat_topic_executors', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_executors', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_executors', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_executors', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_related_objects', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_chat_topic_related_objects', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_related_objects', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_related_objects', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_related_objects', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_spectators', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_chat_topic_spectators', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_spectators', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_spectators', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_spectators', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'activity_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'company_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_list', 'parent_task_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'period_clone_from_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'project_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'responsible_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'status_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'tree_parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'waiting_for_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_executors', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_list_executors', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_executors', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_executors', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_executors', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_members', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_list_members', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_members', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_members', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_members', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_related_objects', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_list_related_objects', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_related_objects', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_related_objects', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_related_objects', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_spectators', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_list_spectators', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_spectators', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_spectators', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_spectators', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'activity_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'company_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_post', 'parent_task_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'period_clone_from_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'project_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'responsible_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'status_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'tree_parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'waiting_for_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_executors', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_post_executors', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_executors', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_executors', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_executors', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_related_objects', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_post_related_objects', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_related_objects', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_related_objects', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_related_objects', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_spectators', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_post_spectators', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_spectators', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_spectators', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_spectators', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'activity_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'company_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_task', 'parent_task_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'period_clone_from_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'project_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'responsible_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'status_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'tree_parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'uwork_type_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'waiting_for_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_executors', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_task_executors', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_executors', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_executors', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_executors', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_related_objects', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_task_related_objects', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_related_objects', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_related_objects', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_related_objects', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_spectators', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_u_work_task_spectators', 'left_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_spectators', 'parent_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_spectators', 'right_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_spectators', 'root_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_type', 'activity_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_type', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_type', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_type', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_type', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_type', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    op.alter_column('cmf_unit', 'cmf_author_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_unit', 'cmf_locked_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_unit', 'cmf_modified_by_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_unit', 'cmf_owner_id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64),
               existing_nullable=True)
    op.alter_column('cmf_unit', 'id',
               existing_type=mysql.CHAR(length=64),
               type_=sa.String(length=64))
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.alter_column('cmf_unit', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_unit', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_unit', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_unit', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_unit', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_type', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_type', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_type', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_type', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_type', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_type', 'activity_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_spectators', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_spectators', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_spectators', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_spectators', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_spectators', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_task_related_objects', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_related_objects', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_related_objects', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_related_objects', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_related_objects', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_task_executors', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_executors', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_executors', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_executors', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task_executors', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_task', 'waiting_for_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'uwork_type_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'tree_parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'status_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'responsible_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'project_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'period_clone_from_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'parent_task_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_task', 'company_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_task', 'activity_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_spectators', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_spectators', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_spectators', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_spectators', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_spectators', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_post_related_objects', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_related_objects', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_related_objects', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_related_objects', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_related_objects', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_post_executors', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_executors', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_executors', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_executors', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post_executors', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_post', 'waiting_for_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'tree_parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'status_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'responsible_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'project_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'period_clone_from_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'parent_task_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_post', 'company_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_post', 'activity_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_spectators', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_spectators', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_spectators', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_spectators', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_spectators', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_list_related_objects', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_related_objects', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_related_objects', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_related_objects', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_related_objects', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_list_members', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_members', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_members', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_members', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_members', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_list_executors', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_executors', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_executors', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_executors', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list_executors', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_list', 'waiting_for_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'tree_parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'status_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'responsible_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'project_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'period_clone_from_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'parent_task_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_list', 'company_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_list', 'activity_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_spectators', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_spectators', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_spectators', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_spectators', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_spectators', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_chat_topic_related_objects', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_related_objects', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_related_objects', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_related_objects', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_related_objects', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_chat_topic_executors', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_executors', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_executors', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_executors', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic_executors', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_chat_topic', 'waiting_for_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'tree_parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'status_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'responsible_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'project_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'period_clone_from_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'parent_task_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'last_comment_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_chat_topic', 'group_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'company_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_topic', 'activity_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_spectators', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_spectators', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_spectators', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_spectators', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_spectators', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_chat_group_related_objects', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_related_objects', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_related_objects', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_related_objects', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_related_objects', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_chat_group_executors', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_executors', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_executors', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_executors', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group_executors', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_chat_group', 'waiting_for_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'tree_parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'status_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'responsible_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'project_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'period_clone_from_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'parent_task_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'last_topic_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'last_comment_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_u_work_chat_group', 'company_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_u_work_chat_group', 'activity_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_subscription', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_subscription', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_subscription', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_subscription', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_subscription', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_status', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_status', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_status', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_status', 'cmf_model_activity_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_status', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_status', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_staff_control', 'person_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_staff_control', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_staff_control', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_staff_control', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_staff_control', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_staff_control', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_s_m_s', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_role', 'supervisor_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_role', 'person_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_role', 'ou_parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_role', 'job_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_role', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_role', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_role', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_role', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_role', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_role', 'activity_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project_spectators', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project_spectators', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project_spectators', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project_spectators', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project_spectators', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_project_executors', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project_executors', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project_executors', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project_executors', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project_executors', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_project', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_project', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_project', 'activity_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_product', 'unit_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_product', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_product', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_product', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_product', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_product', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_print_tmpl', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_print_tmpl', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_print_tmpl', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_print_tmpl', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_print_tmpl', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_price', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_price', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_price', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_price', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_price', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_plan', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_plan', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_plan', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_plan', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_plan', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person_group_rg_members', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person_group_rg_members', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person_group_rg_members', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person_group_rg_members', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person_group_rg_members', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_person_group', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_person_group', 'head_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person_group', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person_group', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person_group', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person_group', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person', 'project_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_person', 'company_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_person', 'activity_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_org_unit', 'ou_parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_org_unit', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_org_unit', 'head_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_org_unit', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_org_unit', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_org_unit', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_org_unit', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_spectators', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_spectators', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_spectators', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_spectators', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_spectators', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_lead_related_objects', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_related_objects', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_related_objects', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_related_objects', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_related_objects', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_lead_executors', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_executors', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_executors', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_executors', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead_executors', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_lead', 'waiting_for_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'tree_parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'status_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'responsible_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'project_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'period_clone_from_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'parent_task_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_lead', 'company_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_lead', 'activity_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status_objects', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status_objects', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status_objects', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status_objects', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status_objects', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_kanban_status', 'work_list_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status', 'status_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status', 'project_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_kanban_status', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_kanban_status', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_job', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_job', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_job', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_job', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_job', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_integration', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_integration', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_integration', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_integration', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_integration', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_folder', 'tree_parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_folder', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_folder', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_folder', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_folder', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_folder', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_folder', 'activity_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_feed_cmf_event', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_feed_cmf_event', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_feed_cmf_event', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_feed', 'tree_parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_feed', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_feed', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_feed', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_feed', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_feed', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_event', 'view_object_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_event', 'object_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_event', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_event', 'event_person_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_event', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_event', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_event', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_event', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_spectators', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_spectators', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_spectators', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_spectators', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_spectators', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_document_related_objects', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_related_objects', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_related_objects', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_related_objects', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_related_objects', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_document_executors', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_executors', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_executors', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_executors', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document_executors', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_document', 'waiting_for_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'tree_parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'status_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'responsible_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'project_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'period_clone_from_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'parent_task_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_document', 'company_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_document', 'activity_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_spectators', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_spectators', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_spectators', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_spectators', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_spectators', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_deal_related_objects', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_related_objects', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_related_objects', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_related_objects', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_related_objects', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_deal_executors', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_executors', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_executors', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_executors', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal_executors', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_deal', 'waiting_for_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'tree_parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'status_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'responsible_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'project_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'period_clone_from_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'parent_task_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_deal', 'company_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_deal', 'activity_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_currency', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_currency', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_currency', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_currency', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_currency', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_company', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_company', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_company', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_company', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_company', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_comment', 'tree_parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_comment', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_comment', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_comment', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_comment', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_comment', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_comment', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_spectators', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_spectators', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_spectators', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_spectators', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_spectators', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_bill_related_objects', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_related_objects', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_related_objects', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_related_objects', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_related_objects', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_bill_executors', 'root_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_executors', 'right_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_executors', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_executors', 'left_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill_executors', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_bill', 'waiting_for_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'tree_parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'status_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'responsible_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'project_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'period_clone_from_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'parent_task_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_bill', 'company_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_bill', 'activity_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_auth', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_auth', 'groups',
               existing_type=sa.TEXT(),
               type_=mysql.VARCHAR(length=4096),
               existing_nullable=True)
    op.alter_column('cmf_auth', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_auth', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_auth', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_auth', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_attachment', 'parent_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_attachment', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_attachment', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_attachment', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_attachment', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_attachment', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_activity', 'id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64))
    op.alter_column('cmf_activity', 'cmf_owner_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_activity', 'cmf_modified_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_activity', 'cmf_locked_by_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    op.alter_column('cmf_activity', 'cmf_author_id',
               existing_type=sa.String(length=64),
               type_=mysql.CHAR(length=64),
               existing_nullable=True)
    # ### end Alembic commands ###
