Fix generating models for join tables
This commit is contained in:
parent
7bc9a4de1e
commit
5c4047b9a6
1 changed files with 4 additions and 0 deletions
|
@ -140,6 +140,10 @@ func (c *CmdData) run(includeTests bool) error {
|
|||
}
|
||||
|
||||
for _, table := range c.Tables {
|
||||
if table.IsJoinTable {
|
||||
continue
|
||||
}
|
||||
|
||||
data := &tplData{
|
||||
Table: table,
|
||||
DriverName: c.DriverName,
|
||||
|
|
Loading…
Reference in a new issue