mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-18 19:40:55 +01:00
7 lines
139 B
MySQL
7 lines
139 B
MySQL
|
USE {$NAMESPACE}_file;
|
||
|
DELETE FROM file_attachment
|
||
|
WHERE NOT EXISTS
|
||
|
(SELECT *
|
||
|
FROM file
|
||
|
WHERE phid=file_attachment.filePHID)
|