"""empty message

Revision ID: 0a6857020728
Revises: 1d2862d8b05a
Create Date: 2022-10-26 17:12:12.528507

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '0a6857020728'
down_revision = '1d2862d8b05a'
branch_labels = None
depends_on = None


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


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