29 lines
559 B
Python
29 lines
559 B
Python
"""add personal split to month
|
|
|
|
Revision ID: c4a1d9b9e2f1
|
|
Revises: 46efbd09438b
|
|
Create Date: 2026-04-20 15:10:00.000000
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
revision = "c4a1d9b9e2f1"
|
|
down_revision = "46efbd09438b"
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
op.add_column(
|
|
"month",
|
|
sa.Column("personal_split_desi_pct", sa.Numeric(5, 2), nullable=False, server_default="50.00"),
|
|
)
|
|
|
|
|
|
def downgrade() -> None:
|
|
op.drop_column("month", "personal_split_desi_pct")
|