@ -167,13 +167,13 @@ func checkDBConsistency(logger log.Logger, autofix bool) error {
"lfs_lock" , "repository" , "lfs_lock.repo_id=repository.id" ) ,
"lfs_lock" , "repository" , "lfs_lock.repo_id=repository.id" ) ,
// find collaborations without users
// find collaborations without users
genericOrphanCheck ( "Collaborations without existing user" ,
genericOrphanCheck ( "Collaborations without existing user" ,
"collaboration" , "user" , "collaboration.user_id=user.id" ) ,
"collaboration" , "user" , "collaboration.user_id=` user` .id" ) ,
// find collaborations without repository
// find collaborations without repository
genericOrphanCheck ( "Collaborations without existing repository" ,
genericOrphanCheck ( "Collaborations without existing repository" ,
"collaboration" , "repository" , "collaboration.repo_id=repository.id" ) ,
"collaboration" , "repository" , "collaboration.repo_id=repository.id" ) ,
// find access without users
// find access without users
genericOrphanCheck ( "Access entries without existing user" ,
genericOrphanCheck ( "Access entries without existing user" ,
"access" , "user" , "access.user_id=user.id" ) ,
"access" , "user" , "access.user_id=` user` .id" ) ,
// find access without repository
// find access without repository
genericOrphanCheck ( "Access entries without existing repository" ,
genericOrphanCheck ( "Access entries without existing repository" ,
"access" , "repository" , "access.repo_id=repository.id" ) ,
"access" , "repository" , "access.repo_id=repository.id" ) ,