Adding UACDiameterRangemm
This commit is contained in:
1 parent
d8db87c13e
commit
597cf68157
7 files changed
+36
-2
No files matched your search
@@ -0,0 +1,28 @@
|
||||
"""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")
|
||||
Reference in new issue
Block a user