فهرست منبع

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