"""empty message

Revision ID: 450cdb8ae33e
Revises: bb98b47d8f5c
Create Date: 2022-06-01 14:22:42.843434

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '450cdb8ae33e'
down_revision = 'bb98b47d8f5c'
branch_labels = None
depends_on = None


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


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