签入版本
This commit is contained in:
@@ -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(只连源、逐表数行数、打印计划,不碰目标库)。
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user