fix: increase upappid length to VARCHAR(32) to avoid Data too long error

This commit is contained in:
yumoqing 2026-05-20 16:38:08 +08:00
parent f0bf47881b
commit 7bf871e985

View File

@ -26,7 +26,7 @@ async def generate_migration_sql():
"-- Removes uapiset intermediate layer.", "-- Removes uapiset intermediate layer.",
"", "",
"-- Step 1: Add upappid column to uapi", "-- Step 1: Add upappid column to uapi",
"ALTER TABLE uapi ADD COLUMN upappid VARCHAR(21) DEFAULT NULL COMMENT '上位系统ID' AFTER id;", "ALTER TABLE uapi ADD COLUMN upappid VARCHAR(32) DEFAULT NULL COMMENT '上位系统ID' AFTER id;",
"" ""
] ]