"""Dummy gantt task

Revision ID: be90e3591a08
Revises: d2992d7e4e5d
Create Date: 2022-11-30 00:23:37.429811

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'be90e3591a08'
down_revision = 'd2992d7e4e5d'
branch_labels = None
depends_on = None


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


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