"""empty message

Revision ID: a750ef323fe5
Revises: 14503fb5ec1c
Create Date: 2022-04-12 10:35:32.637398

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'a750ef323fe5'
down_revision = '14503fb5ec1c'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('project', sa.Column('is_visible', sa.Boolean(), nullable=True))
    is_visible = sa.table('project', sa.column('is_visible'))
    op.execute(is_visible.update().values(is_visible=True))
    op.alter_column('project', 'is_visible', nullable=False)
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('project', 'is_visible')
    # ### end Alembic commands ###
