"""timeout_between_shifts

Revision ID: 0037
Revises: 0036
Create Date: 2022-06-23 07:26:10.939724+00:00

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '0037'
down_revision = '0036'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column(
        'schedules_group', sa.Column('timeout_between_shifts', sa.Interval(), nullable=False, server_default='0'),
    )
    op.alter_column('schedules_group', 'timeout_between_shifts', server_default=None)
    # ### end Alembic commands ###


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