Corrected an issue where skipping any table skips SetSchema
This commit is contained in:
parent
882d5562f3
commit
bda94469ea
1 changed files with 5 additions and 1 deletions
|
|
@ -80,10 +80,14 @@ func processTableSQLBuilderSetSchema(dirPath string, schemaMetadata metadata.Sch
|
|||
builders = append(builders, table)
|
||||
|
||||
if table.Skip {
|
||||
return
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
||||
if len(builders) == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Println("Generating global `SetSchema` method...")
|
||||
schemaIdentifier := utils.ToGoIdentifier(schemaMetadata.Name)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue