"""add sick_note_required_after_days to companies

Revision ID: 0022
Revises: 0020
Create Date: 2026-05-06
"""
from alembic import op
import sqlalchemy as sa


revision = "0022"
down_revision = "0021"
branch_labels = None
depends_on = None


def upgrade() -> None:
    op.add_column(
        "companies",
        sa.Column(
            "sick_note_required_after_days",
            sa.Integer(),
            nullable=False,
            server_default="3",
        ),
    )


def downgrade() -> None:
    op.drop_column("companies", "sick_note_required_after_days")
