签入版本

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