瀏覽代碼

Fix pg subcommand level error (#1979)

anqiansong 2 年之前
父節點
當前提交
8be47b9c99
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/goctl/model/cmd.go

+ 1 - 1
tools/goctl/model/cmd.go

@@ -85,7 +85,7 @@ func init() {
 
 	mysqlCmd.AddCommand(datasourceCmd)
 	mysqlCmd.AddCommand(ddlCmd)
-	mysqlCmd.AddCommand(pgCmd)
 	Cmd.AddCommand(mysqlCmd)
 	Cmd.AddCommand(mongoCmd)
+	Cmd.AddCommand(pgCmd)
 }