From 2e8ab05acbd1e4ff5b3a1eadabbcac8df72c1af0 Mon Sep 17 00:00:00 2001 From: Charles Yao Date: Wed, 19 Aug 2026 01:48:31 -0700 Subject: [PATCH] fix(workflow-copilot): re-parent copilot migration onto main head The add_workflow_copilot_tables migration (b28a1b2fbf4d) kept down_revision=e4708db55c1d after the branch was rebased onto main, forking the Alembic graph into two heads and letting a fresh DB skip the main lineage (e.g. workflows.version_number), which 500s the editor /workflows/draft. Re-point down_revision to the main head (56124e050600) so the chain is linear. Co-Authored-By: Claude Opus 4.8 --- ...026_08_18_0922-b28a1b2fbf4d_add_workflow_copilot_tables.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/migrations/versions/2026_08_18_0922-b28a1b2fbf4d_add_workflow_copilot_tables.py b/api/migrations/versions/2026_08_18_0922-b28a1b2fbf4d_add_workflow_copilot_tables.py index cfdcc83329e..3642fa9b5bc 100644 --- a/api/migrations/versions/2026_08_18_0922-b28a1b2fbf4d_add_workflow_copilot_tables.py +++ b/api/migrations/versions/2026_08_18_0922-b28a1b2fbf4d_add_workflow_copilot_tables.py @@ -1,7 +1,7 @@ """add workflow copilot tables Revision ID: b28a1b2fbf4d -Revises: e4708db55c1d +Revises: 56124e050600 Create Date: 2026-08-18 09:22:44.765467 """ @@ -12,7 +12,7 @@ import sqlalchemy as sa # revision identifiers, used by Alembic. revision = "b28a1b2fbf4d" -down_revision = "e4708db55c1d" +down_revision = "56124e050600" branch_labels = None depends_on = None