Merge pull request #108 from jeffmingup/master

Fix table prefix flags
This commit is contained in:
xxj
2021-01-29 20:07:10 -06:00
committed by GitHub

View File

@@ -115,6 +115,6 @@ func MergeMysqlDbInfo() {
config.SetIsGUI(ig)
tablePrefix := config.GetTablePrefix()
mycobra.IfReplace(rootCmd, "tablePrefix", &tablePrefix) // 如果设置了,更新
mycobra.IfReplace(rootCmd, "table_prefix", &tablePrefix) // 如果设置了,更新
config.SetTablePrefix(tablePrefix)
}