ERROR: column b.id does not exist (SQLSTATE 42703)
[5.345ms] [rows:0] SELECT count(*) FROM logger AS a left join user b on a.user_id=b.id
im using postgres
[Logger]
Debug = true
Level = "debug" # debug/info/warn/error/dpanic/panic/fatal
CallerSkip = 1
[Logger.File]
Enable = false
Path = "data/log/goapigateway.log"
MaxBackups = 20 # Files
MaxSize = 64 # MB
[[Logger.Hooks]]
Enable = true
Level = "info"
Type = "gorm" # gorm
MaxBuffer = 1024
MaxThread = 2
[Logger.Hooks.Options]
Debug = "false"
DBType = "postgres" # sqlite3/mysql/postgres
DSN = "data/goapigateway.db"
DSN = "host=localhost user=postgres password=password dbname=goapigateway port=5432 sslmode=disable TimeZone=Asia/Jakarta"
MaxOpenConns = "16"
MaxIdleConns = "4"
MaxLifetime = "86400"
MaxIdleTime = "7200"