fix: 删除 main 分支残留的 010_add_foreign_key_constraints.py(修复 Alembic 双头) #104

Merged
xiaoxia merged 1 commits from fix/alembic-dual-head into main 2026-06-29 13:03:32 +08:00

1 Commits

Author SHA1 Message Date
Audit Bot ecba3d8528 fix: 删除 main 分支残留的 010_add_foreign_key_constraints.py
Tests / lint (pull_request) Failing after 239h54m18s
Tests / test (pull_request) Failing after 239h54m18s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 239h54m40s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 239h54m40s
该文件来自旧 PR#65,与 develop 分支的 010_phase0_extensibility.py
共用 revision '010' 且都指向 down_revision '009',导致 alembic 双头问题。

develop 分支从未包含此文件,删除后迁移链恢复为单链:
001 → 002 → ... → 009 → 010(phase0_extensibility) → 011 → 012 → 013

验证: alembic heads 显示唯一 head 013
2026-06-29 12:57:49 +08:00