Revert "🐞 fix(gen): pg gen of insert (#1591)" (#1598)

This reverts commit cc4c4928e0.
This commit is contained in:
Kevin Wan
2022-03-01 20:27:59 +08:00
committed by GitHub
parent 168740b64d
commit e31128650e
5 changed files with 12 additions and 70 deletions

View File

@@ -223,7 +223,7 @@ func (g *defaultGenerator) genModel(in parser.Table, withCache bool) (string, er
table.UniqueCacheKey = uniqueKey
table.ContainsUniqueCacheKey = len(uniqueKey) > 0
importsCode, err := genImports(withCache, in.ContainsTime(), table, g.isPostgreSql)
importsCode, err := genImports(withCache, in.ContainsTime(), table)
if err != nil {
return "", err
}