mirror of https://github.com/go-gitea/gitea.git
Prevent dangling user redirects (#21856)
- It's possible that the `user_redirect` table contains a user id that no longer exists. - Delete a user redirect upon deleting the user. - Add a check for these dangling user redirects to check-db-consistency.pull/21857/head^2
parent
0b993a0d04
commit
20385b52a3
Loading…
Reference in New Issue