@@ -167,13 +167,13 @@ func checkDBConsistency(logger log.Logger, autofix bool) error {
167
167
"lfs_lock" , "repository" , "lfs_lock.repo_id=repository.id" ),
168
168
// find collaborations without users
169
169
genericOrphanCheck ("Collaborations without existing user" ,
170
- "collaboration" , "user" , "collaboration.user_id=user.id" ),
170
+ "collaboration" , "user" , "collaboration.user_id=` user` .id" ),
171
171
// find collaborations without repository
172
172
genericOrphanCheck ("Collaborations without existing repository" ,
173
173
"collaboration" , "repository" , "collaboration.repo_id=repository.id" ),
174
174
// find access without users
175
175
genericOrphanCheck ("Access entries without existing user" ,
176
- "access" , "user" , "access.user_id=user.id" ),
176
+ "access" , "user" , "access.user_id=` user` .id" ),
177
177
// find access without repository
178
178
genericOrphanCheck ("Access entries without existing repository" ,
179
179
"access" , "repository" , "access.repo_id=repository.id" ),
0 commit comments