@@ -159,13 +159,13 @@ func checkDBConsistency(logger log.Logger, autofix bool) error {
159
159
"lfs_lock" , "repository" , "lfs_lock.repo_id=repository.id" ),
160
160
// find collaborations without users
161
161
genericOrphanCheck ("Collaborations without existing user" ,
162
- "collaboration" , "user" , "collaboration.user_id=user.id" ),
162
+ "collaboration" , "user" , "collaboration.user_id=` user` .id" ),
163
163
// find collaborations without repository
164
164
genericOrphanCheck ("Collaborations without existing repository" ,
165
165
"collaboration" , "repository" , "collaboration.repo_id=repository.id" ),
166
166
// find access without users
167
167
genericOrphanCheck ("Access entries without existing user" ,
168
- "access" , "user" , "access.user_id=user.id" ),
168
+ "access" , "user" , "access.user_id=` user` .id" ),
169
169
// find access without repository
170
170
genericOrphanCheck ("Access entries without existing repository" ,
171
171
"access" , "repository" , "access.repo_id=repository.id" ),
0 commit comments