mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 04:05:40 +01:00
2 lines
196 B
MySQL
2 lines
196 B
MySQL
|
/* cleanup deleted user project members */
|
||
|
DELETE FROM project_member pm WHERE pm.entity_type = 'u' AND EXISTS (SELECT NULL FROM harbor_user u WHERE pm.entity_id = u.user_id AND u.deleted = true )
|