refactor: borrado join a worker
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2023-01-05 11:42:21 +01:00
parent 810a1afcd9
commit 1aa21c16b5
1 changed files with 1 additions and 2 deletions

View File

@ -170,8 +170,7 @@ module.exports = Self => {
cl.created cl.created
FROM claim cl FROM claim cl
LEFT JOIN client c ON c.id = cl.clientFk LEFT JOIN client c ON c.id = cl.clientFk
LEFT JOIN worker w ON w.id = cl.workerFk LEFT JOIN account.user u ON u.id = cl.workerFk
LEFT JOIN account.user u ON u.id = w.userFk
LEFT JOIN claimState cs ON cs.id = cl.claimStateFk` LEFT JOIN claimState cs ON cs.id = cl.claimStateFk`
); );