Closed
Description
Description
Running gitea doctor --run delete-orphaned-repos
against PostgreSQL-driven instance fails with syntax error.
PostgreSQL can't handle unquoted table name for "user" table.
Some source code already contains backtick around table name, modules/doctor/repository.go:29 and modules/doctor/repository.go:49 does not, yet.
Tested with v1.21 and main branch.
Gitea Version
1.21.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
- gitea binary
- docker container
- self build
Database
PostgreSQL