mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 11:22:40 +01:00
8 lines
281 B
MySQL
8 lines
281 B
MySQL
|
INSERT IGNORE INTO {$NAMESPACE}_file.file_attachment
|
||
|
(objectPHID, filePHID, attachmentMode, attacherPHID,
|
||
|
dateCreated, dateModified)
|
||
|
SELECT dst, src, 'attach', null, dateCreated, dateCreated
|
||
|
FROM {$NAMESPACE}_file.edge
|
||
|
WHERE type = 26
|
||
|
ORDER BY dateCreated ASC;
|