diff --git a/generator/template/process.go b/generator/template/process.go index de85d71..a37b374 100644 --- a/generator/template/process.go +++ b/generator/template/process.go @@ -184,8 +184,6 @@ func processTableSQLBuilder(fileTypes, dirPath string, func generateSetSchema(dirPath, fileTypes string, schemaMetadata metadata.Schema, builders []TableSQLBuilder) { basePath := path.Join(dirPath, builders[0].Path) - err := utils.EnsureDirPath(basePath) - throw.OnError(err) schemaIdentifier := utils.ToGoIdentifier(schemaMetadata.Name) methodName := fmt.Sprintf("Set%sSchema", schemaIdentifier)