31 lines
799 B
Python
31 lines
799 B
Python
"""augmented_parts_uac_diameter_range
|
|
|
|
Revision ID: 3c4d5e6f7a8b
|
|
Revises: 2b3c4d5e6f7a
|
|
Create Date: 2026-09-21 00:00:00.000000
|
|
"""
|
|
|
|
from collections.abc import Sequence
|
|
|
|
import sqlalchemy as sa
|
|
|
|
from alembic import op
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision: str = "3c4d5e6f7a8b"
|
|
down_revision: str | None = "2b3c4d5e6f7a"
|
|
branch_labels: str | Sequence[str] | None = None
|
|
depends_on: str | Sequence[str] | None = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
with op.batch_alter_table("augmented_parts", schema=None) as batch_op:
|
|
batch_op.add_column(
|
|
sa.Column("uac_diameter_range_mm", sa.String(), nullable=True)
|
|
)
|
|
|
|
|
|
def downgrade() -> None:
|
|
with op.batch_alter_table("augmented_parts", schema=None) as batch_op:
|
|
batch_op.drop_column("uac_diameter_range_mm")
|