chore(migrations): 合并 shipping 与设备验收并行 migration heads
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
d95c4dc086
commit
e38e5a63fe
1 file changed
+30
@@ -0,0 +1,30 @@
|
||||
"""
|
||||
migrations/versions/b7a2b2155155_merge_migration_heads.py
|
||||
|
||||
用途:合并两条并行 Alembic head,恢复单 head 迁移图。
|
||||
依赖:0a575f3afc32(shipping part_available_qty)、ea8c0a1b2c3d(设备验收快照)。
|
||||
逻辑:两分支均 Revises 9e5045511198;本文件仅作图合并,upgrade/downgrade 为空操作。
|
||||
|
||||
Revision ID: b7a2b2155155
|
||||
Revises: 0a575f3afc32, ea8c0a1b2c3d
|
||||
Create Date: 2026-10-12 21:36:06.898157
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = "b7a2b2155155"
|
||||
down_revision = ("0a575f3afc32", "ea8c0a1b2c3d")
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
"""空合并:两 head 无冲突 schema,仅统一 revision 图。"""
|
||||
pass
|
||||
|
||||
|
||||
def downgrade():
|
||||
"""空合并:降级时 Alembic 回到两个并行 head。"""
|
||||
pass
|
||||
Reference in new issue
Block a user