mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-11 08:06:13 +01:00
24 lines
923 B
MySQL
24 lines
923 B
MySQL
|
UPDATE {$NAMESPACE}_slowvote.slowvote_transaction
|
||
|
SET oldValue = '"visible"' WHERE
|
||
|
transactionType = 'vote:responses' AND oldValue IN ('0', '"0"');
|
||
|
|
||
|
UPDATE {$NAMESPACE}_slowvote.slowvote_transaction
|
||
|
SET newValue = '"visible"' WHERE
|
||
|
transactionType = 'vote:responses' AND newValue IN ('0', '"0"');
|
||
|
|
||
|
UPDATE {$NAMESPACE}_slowvote.slowvote_transaction
|
||
|
SET oldValue = '"voters"' WHERE
|
||
|
transactionType = 'vote:responses' AND oldValue IN ('1', '"1"');
|
||
|
|
||
|
UPDATE {$NAMESPACE}_slowvote.slowvote_transaction
|
||
|
SET newValue = '"voters"' WHERE
|
||
|
transactionType = 'vote:responses' AND newValue IN ('1', '"1"');
|
||
|
|
||
|
UPDATE {$NAMESPACE}_slowvote.slowvote_transaction
|
||
|
SET oldValue = '"owner"' WHERE
|
||
|
transactionType = 'vote:responses' AND oldValue IN ('2', '"2"');
|
||
|
|
||
|
UPDATE {$NAMESPACE}_slowvote.slowvote_transaction
|
||
|
SET newValue = '"owner"' WHERE
|
||
|
transactionType = 'vote:responses' AND newValue IN ('2', '"2"');
|