"""run.declared The inputs the flow declared when a run was submitted, so its record reads against that version of the flow and not against whatever the flow declares now. Revision ID: 2e7ca7d10044 Revises: 930ffa094aad Create Date: 2026-10-15 """ import sqlalchemy as sa from alembic import op # revision identifiers, used by Alembic. revision = "2e7ca7d10044" down_revision = "930ffa094aad" branch_labels = None depends_on = None def upgrade(): # Nullable: a run submitted before this kept no snapshot, and its readers # fall back to the flow's current declarations. op.add_column("run", sa.Column("declared", sa.JSON(), nullable=True)) def downgrade(): op.drop_column("run", "declared")