Explorar o código

Fix pg subcommand level error (#1979)

anqiansong %!s(int64=2) %!d(string=hai) anos
pai
achega
8be47b9c99
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
 }