소스 검색

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)
 }