Files
syops/backend/migrations/versions/p1b2c3d4e5f6_merge_migration_heads.py
T
hugo 993e581135 chore(migrations): 合并调用日志与 RPA 回调加宽迁移 head
- we9f0a1b2c3d 基于旧头 wd7e8f9a0b1c 开发,与 test 侧合并节点 mg0f1a2b3c4d5 形成双 head
- 测试环境 flask db upgrade 无法解析唯一 head,部署被拦
- 新增空操作合并迁移 p1b2c3d4e5f6 收敛为单 head,实际 DDL 由两个父迁移各自负责
2026-09-28 06:47:21 +08:00

28 lines
811 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""merge migration heads
用途:合并平行迁移分支,恢复 Alembic 单 head 链。
依赖:无表结构操作,仅声明多父级(mg0f1a2b3c4d5 调用日志 wire_json×PO 契约合并节点
× we9f0a1b2c3d 库存 RPA 回调 source_run_no 加宽)。
逻辑:hugo-shipping-notice 的 we9f0a1b2c3d 基于旧头 wd7e8f9a0b1c 开发,与 test 侧
合并节点 mg0f1a2b3c4d5 形成分叉;本 Revision 只做图合并,upgrade/downgrade
均为空操作,实际 DDL 由两个父迁移各自负责。
Revision ID: p1b2c3d4e5f6
Revises: mg0f1a2b3c4d5, we9f0a1b2c3d
Create Date: 2026-09-28 00:00:00.000000
"""
revision = "p1b2c3d4e5f6"
down_revision = ("mg0f1a2b3c4d5", "we9f0a1b2c3d")
branch_labels = None
depends_on = None
def upgrade():
pass
def downgrade():
pass