Fix generating models for join tables

This commit is contained in:
Aaron L 2016-06-11 15:45:47 -07:00
parent 7bc9a4de1e
commit 5c4047b9a6

View file

@ -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,