ae67bff5a3
Self-hosted platform for building, testing, and shipping LangChain/LangGraph agents. Deep-agent sub-agents on the canvas, a live tracing/observability timeline, auto-provisioned built-in tools with import/export, per-environment tool variables, streamed evaluations, and per-user auth token forwarding.
28 lines
670 B
Python
28 lines
670 B
Python
"""baseline - full current schema
|
|
|
|
Squash baseline: stamps the entire current schema via metadata.create_all (skips
|
|
existing tables, so it's safe on an already-bootstrapped dev DB). Incremental
|
|
migrations are added on top with `alembic revision --autogenerate`.
|
|
|
|
Revision ID: 0001_baseline
|
|
Revises:
|
|
Create Date: 2026-06-14
|
|
"""
|
|
from alembic import op
|
|
|
|
import forge.models # noqa: F401 - register tables
|
|
from forge.db.base import Base
|
|
|
|
revision = "0001_baseline"
|
|
down_revision = None
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
Base.metadata.create_all(bind=op.get_bind())
|
|
|
|
|
|
def downgrade() -> None:
|
|
Base.metadata.drop_all(bind=op.get_bind())
|