feat: canonical flow directory with sync engine (files are source of truth)
This commit is contained in:
parent
7d5ade6b6a
commit
c65e3ed332
16 changed files with 4167 additions and 42 deletions
|
|
@ -0,0 +1,32 @@
|
|||
"""add source_path to flow_definitions
|
||||
|
||||
Revision ID: d932b6993f9a
|
||||
Revises: 62ea9a5d8f9d
|
||||
Create Date: 2026-09-07 08:40:48.986026
|
||||
|
||||
"""
|
||||
from typing import Sequence, Union
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
import sqlmodel # noqa: F401 - autogenerate renders sqlmodel.* column types
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision: str = 'd932b6993f9a'
|
||||
down_revision: Union[str, Sequence[str], None] = '62ea9a5d8f9d'
|
||||
branch_labels: Union[str, Sequence[str], None] = None
|
||||
depends_on: Union[str, Sequence[str], None] = None
|
||||
|
||||
|
||||
def upgrade() -> None:
|
||||
"""Upgrade schema."""
|
||||
op.add_column(
|
||||
"flow_definitions",
|
||||
sa.Column("source_path", sa.String(length=255), nullable=True),
|
||||
)
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
"""Downgrade schema."""
|
||||
op.drop_column("flow_definitions", "source_path")
|
||||
Loading…
Add table
Add a link
Reference in a new issue