1. 合并base改包代码
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# encoding=utf8
|
||||
"""芋道系统数据库迁移工具
|
||||
"""ZT系统数据库迁移工具
|
||||
|
||||
Author: dhb52 (https://gitee.com/dhb52)
|
||||
|
||||
@@ -16,7 +16,7 @@ from typing import Dict, Generator, Optional, Tuple, Union
|
||||
from simple_ddl_parser import DDLParser
|
||||
|
||||
PREAMBLE = """/*
|
||||
Zt Database Transfer Tool
|
||||
Cloud Database Transfer Tool
|
||||
|
||||
Source Server Type : MySQL
|
||||
|
||||
@@ -828,7 +828,7 @@ class OpengaussConvertor(KingbaseConvertor):
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description="芋道系统数据库转换工具")
|
||||
parser = argparse.ArgumentParser(description="ZT系统数据库转换工具")
|
||||
parser.add_argument(
|
||||
"type",
|
||||
type=str,
|
||||
@@ -837,7 +837,7 @@ def main():
|
||||
)
|
||||
args = parser.parse_args()
|
||||
|
||||
sql_file = pathlib.Path("../mysql/ruoyi-vue-pro.sql").resolve().as_posix()
|
||||
sql_file = pathlib.Path("../mysql/在线文档管理表结构.sql").resolve().as_posix()
|
||||
convertor = None
|
||||
if args.type == "postgres":
|
||||
convertor = PostgreSQLConvertor(sql_file)
|
||||
|
||||
Reference in New Issue
Block a user