mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-28 16:30:59 +01:00
21 lines
689 B
MySQL
21 lines
689 B
MySQL
|
UPDATE {$NAMESPACE}_herald.herald_condition c
|
||
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
||
|
ON c.ruleID = r.id
|
||
|
SET c.fieldName = 'pholio.mock.name'
|
||
|
WHERE r.contentType = 'HeraldPholioMockAdapter'
|
||
|
AND c.fieldName = 'title';
|
||
|
|
||
|
UPDATE {$NAMESPACE}_herald.herald_condition c
|
||
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
||
|
ON c.ruleID = r.id
|
||
|
SET c.fieldName = 'pholio.mock.description'
|
||
|
WHERE r.contentType = 'HeraldPholioMockAdapter'
|
||
|
AND c.fieldName = 'body';
|
||
|
|
||
|
UPDATE {$NAMESPACE}_herald.herald_condition c
|
||
|
JOIN {$NAMESPACE}_herald.herald_rule r
|
||
|
ON c.ruleID = r.id
|
||
|
SET c.fieldName = 'pholio.mock.author'
|
||
|
WHERE r.contentType = 'HeraldPholioMockAdapter'
|
||
|
AND c.fieldName = 'author';
|