mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 19:32:40 +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';
|