mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-29 21:54:13 +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 )
|