1fedd683e0
Stand: agent-06 (Audit-Log), agent-05 (Krankmeldung), agent-07 Phase 1 (Personalnummer), Busylight-Pull-Integration, TOTP/2FA, Abwesenheiten, Zeiterfassung, Kiosk-Grundgerüst. Migrations 0001–0023 deployed auf 192.168.1.137 + .164. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
25 lines
531 B
Python
25 lines
531 B
Python
"""add special_days to vacation_balances
|
|
|
|
Revision ID: 0016_vacation_special_days
|
|
Revises: 0015_totp
|
|
Create Date: 2026-03-28
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
revision = "0016_vacation_special_days"
|
|
down_revision = "0015_totp"
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
op.add_column(
|
|
"vacation_balances",
|
|
sa.Column("special_days", sa.Integer(), nullable=False, server_default="0"),
|
|
)
|
|
|
|
|
|
def downgrade() -> None:
|
|
op.drop_column("vacation_balances", "special_days")
|