mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-29 02:02:41 +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)
|