Skip to content

/api/v1/loggers?current=1&pageSize=10 ERROR: column b.id does not exist (SQLSTATE 42703) #148

@anggitrestuu

Description

@anggitrestuu

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions