mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 09:12:41 +01:00
21 lines
728 B
MySQL
21 lines
728 B
MySQL
|
UPDATE {$NAMESPACE}_herald.herald_condition c
|
||
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
||
|
ON c.ruleID = r.id
|
||
|
SET c.fieldName = 'phriction.document.title'
|
||
|
WHERE r.contentType = 'PhrictionDocumentHeraldAdapter'
|
||
|
AND c.fieldName = 'title';
|
||
|
|
||
|
UPDATE {$NAMESPACE}_herald.herald_condition c
|
||
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
||
|
ON c.ruleID = r.id
|
||
|
SET c.fieldName = 'phriction.document.content'
|
||
|
WHERE r.contentType = 'PhrictionDocumentHeraldAdapter'
|
||
|
AND c.fieldName = 'body';
|
||
|
|
||
|
UPDATE {$NAMESPACE}_herald.herald_condition c
|
||
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
||
|
ON c.ruleID = r.id
|
||
|
SET c.fieldName = 'phriction.document.author'
|
||
|
WHERE r.contentType = 'PhrictionDocumentHeraldAdapter'
|
||
|
AND c.fieldName = 'author';
|