chase-isabelle-roostify

Results 6 comments of chase-isabelle-roostify

@deepmap-marcinr @jxsl13 Hey, all. Just a friendly checkup. Any update on this?

This may actually be caused by a column named `0`. [edit] yep, there's a column named `0`, but i guess, since postgres allows this, it should be accounted for, somehow.

seems there's a similar error with other tables ``` gentool --db postgres --dsn 'host=localhost user=user password=password dbname=db/development port=5432 sslmode=disable' --tables 'users' 2022/07/29 22:34:11 /path/to/go/pkg/mod/gorm.io/driver/[email protected]/migrator.go:369 SLOW SQL >= 200ms [211.973ms] [rows:-]...

even though the tool produces this error, it seems like the generated code is actually fine. `go fmt ../model/users.gen.go` produces no errors, and a quick inspection of the code looks...

for some reason, this bug exists in the binary; however, when running via `go run tools/gentool/gentool.go` it does not.

yea, it's definitely an edge case and a bad field name; but, i'm keeping the ticket open since it is _technically_ a valid field name. if i have time i...