mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-11 08:06:13 +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)
|