mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
9 lines
227 B
MySQL
9 lines
227 B
MySQL
|
USE {$NAMESPACE}_repository;
|
||
|
DELETE x FROM repository_coverage x
|
||
|
LEFT JOIN repository_coverage y
|
||
|
ON x.branchID = y.branchID
|
||
|
AND x.commitID = y.commitID
|
||
|
AND x.pathID = y.pathID
|
||
|
AND y.id > x.id
|
||
|
WHERE y.id IS NOT NULL;
|