@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1UPDATE {$NAMESPACE}_slowvote.slowvote_transaction
2 SET oldValue = '"visible"' WHERE
3 transactionType = 'vote:responses' AND oldValue IN ('0', '"0"');
4
5UPDATE {$NAMESPACE}_slowvote.slowvote_transaction
6 SET newValue = '"visible"' WHERE
7 transactionType = 'vote:responses' AND newValue IN ('0', '"0"');
8
9UPDATE {$NAMESPACE}_slowvote.slowvote_transaction
10 SET oldValue = '"voters"' WHERE
11 transactionType = 'vote:responses' AND oldValue IN ('1', '"1"');
12
13UPDATE {$NAMESPACE}_slowvote.slowvote_transaction
14 SET newValue = '"voters"' WHERE
15 transactionType = 'vote:responses' AND newValue IN ('1', '"1"');
16
17UPDATE {$NAMESPACE}_slowvote.slowvote_transaction
18 SET oldValue = '"owner"' WHERE
19 transactionType = 'vote:responses' AND oldValue IN ('2', '"2"');
20
21UPDATE {$NAMESPACE}_slowvote.slowvote_transaction
22 SET newValue = '"owner"' WHERE
23 transactionType = 'vote:responses' AND newValue IN ('2', '"2"');