29 lines
552 B
Python
29 lines
552 B
Python
"""add entry allocation target
|
|
|
|
Revision ID: 8d3f0c61bb21
|
|
Revises: 5f1c2e87a921
|
|
Create Date: 2026-04-20 16:10:00.000000
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
revision = "8d3f0c61bb21"
|
|
down_revision = "5f1c2e87a921"
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
op.add_column(
|
|
"entry",
|
|
sa.Column("is_allocation_target", sa.Boolean(), nullable=False, server_default=sa.false()),
|
|
)
|
|
|
|
|
|
def downgrade() -> None:
|
|
op.drop_column("entry", "is_allocation_target")
|