mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 12:54:53 -05:00
Merge pull request '[v9.0/forgejo] fix: dbconsistency check adding missing quotes' (#6129) from bp-v9.0/forgejo-b525eec into v9.0/forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6129 Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
commit
9b29e8add1
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ func checkDBConsistency(ctx context.Context, logger log.Logger, autofix bool) er
|
||||||
"repo_archive_download_count", "release", "repo_archive_download_count.release_id=release.id"),
|
"repo_archive_download_count", "release", "repo_archive_download_count.release_id=release.id"),
|
||||||
// find authorization tokens without existing user
|
// find authorization tokens without existing user
|
||||||
genericOrphanCheck("Authorization token without existing User",
|
genericOrphanCheck("Authorization token without existing User",
|
||||||
"forgejo_auth_token", "user", "forgejo_auth_token.uid=user.id"),
|
"forgejo_auth_token", "user", "forgejo_auth_token.uid=`user`.id"),
|
||||||
)
|
)
|
||||||
|
|
||||||
for _, c := range consistencyChecks {
|
for _, c := range consistencyChecks {
|
||||||
|
|
Loading…
Reference in a new issue