29 lines
768 B
Python
29 lines
768 B
Python
"""imported_parts_uac_diameter_range
|
|
|
|
Revision ID: 2b3c4d5e6f7a
|
|
Revises: 1c2d3e4f5a6b
|
|
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 = "2b3c4d5e6f7a"
|
|
down_revision: str | None = "1c2d3e4f5a6b"
|
|
branch_labels: str | Sequence[str] | None = None
|
|
depends_on: str | Sequence[str] | None = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
with op.batch_alter_table("imported_parts", schema=None) as batch_op:
|
|
batch_op.add_column(sa.Column("UACDiameterRangemm", sa.String(), nullable=True))
|
|
|
|
|
|
def downgrade() -> None:
|
|
with op.batch_alter_table("imported_parts", schema=None) as batch_op:
|
|
batch_op.drop_column("UACDiameterRangemm")
|