签入版本
CI / lint (push) Canceled after 0s
CI / test (push) Canceled after 0s

This commit is contained in:
2026-09-16 12:22:29 +08:00
parent b8ed9b389b
commit 54760d9104
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -19,9 +19,9 @@
用法:
python scripts/migrate_db.py \
--src-driver=mysql --src-host=127.0.0.1 --src-port=3306 \
--src-db=djangoadmin.fastapi.elevue --src-user=root --src-pass=root \
--src-db=djangoadmin.tornado.elevue --src-user=root --src-pass=root \
--dst-driver=postgresql --dst-host=127.0.0.1 --dst-port=5432 \
--dst-db=djangoadmin.fastapi.elevue --dst-user=root --dst-pass=root \
--dst-db=djangoadmin.tornado.elevue --dst-user=root --dst-pass=root \
--drop-target-first
先干跑核对计划:加 --dry-run(只连源、逐表数行数、打印计划,不碰目标库)。
+1
View File
@@ -368,6 +368,7 @@ def get_tree_list(menu_list):
'id': item.id,
'name': item.name,
'icon': item.icon,
'icon2': item.icon2,
'path': item.path,
'parentId': item.parent_id,
'type': item.type,