Add northwind db.

This commit is contained in:
go-jet 2019-07-17 11:03:16 +02:00
parent 57added50a
commit 0a417a14d6
5 changed files with 139327 additions and 1 deletions

View file

@ -49,7 +49,11 @@ func Generate(destDir string, genData DBConnection) error {
return err
}
fmt.Println(" FOUND", len(schemaInfo.TableInfos), " table(s), ", len(schemaInfo.EnumInfos), " enum(s)")
fmt.Println(" FOUND", len(schemaInfo.TableInfos), "table(s), ", len(schemaInfo.EnumInfos), "enum(s)")
if len(schemaInfo.TableInfos) == 0 && len(schemaInfo.EnumInfos) == 0 {
return nil
}
schemaGenPath := path.Join(destDir, genData.DBName, genData.SchemaName)
fmt.Println("Destination directory:", schemaGenPath)