Add northwind db.
This commit is contained in:
parent
57added50a
commit
0a417a14d6
5 changed files with 139327 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue