mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-04 20:52:43 +01:00
03d3d1889d
Summary: Ref T13682. Use API-friendly string constants instead of opaque integers in Slowvote voting methods. Test Plan: Created, edited, and voted in polls with various voting methods. Examined database after migrations. Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam Maniphest Tasks: T13682 Differential Revision: https://secure.phabricator.com/D21846
5 lines
180 B
SQL
5 lines
180 B
SQL
UPDATE {$NAMESPACE}_slowvote.slowvote_poll
|
|
SET method = 'plurality' WHERE method = '0';
|
|
|
|
UPDATE {$NAMESPACE}_slowvote.slowvote_poll
|
|
SET method = 'approval' WHERE method = '1';
|