feat: initial commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
"""Add render_log JSONB column to cad_files
|
||||
|
||||
Revision ID: 009
|
||||
Revises: 008
|
||||
Create Date: 2026-03-01
|
||||
|
||||
"""
|
||||
from typing import Sequence, Union
|
||||
from alembic import op
|
||||
|
||||
revision: str = "009"
|
||||
down_revision: Union[str, None] = "008"
|
||||
branch_labels: Union[str, Sequence[str], None] = None
|
||||
depends_on: Union[str, Sequence[str], None] = None
|
||||
|
||||
|
||||
def upgrade() -> None:
|
||||
op.execute(
|
||||
"ALTER TABLE cad_files "
|
||||
"ADD COLUMN IF NOT EXISTS render_log JSONB"
|
||||
)
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
op.execute(
|
||||
"ALTER TABLE cad_files "
|
||||
"DROP COLUMN IF EXISTS render_log"
|
||||
)
|
||||
Reference in New Issue
Block a user