"""shift gives_rating

Revision ID: 0040
Revises: 0039
Create Date: 2022-06-30 10:42:32.874723+00:00

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '0040'
down_revision = '0039'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('shift', sa.Column('gives_rating', sa.Boolean(), nullable=True, server_default='1'))
    op.alter_column('shift', 'gives_rating', server_default=None, nullable=False)
    # ### end Alembic commands ###


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