mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Change defaults on user vote display mode to upvotes + downvotes
This commit is contained in:
parent
705e86eb4c
commit
b9e49d63cd
@ -0,0 +1,6 @@
|
|||||||
|
ALTER TABLE local_user_vote_display_mode
|
||||||
|
ALTER COLUMN upvotes SET DEFAULT FALSE,
|
||||||
|
ALTER COLUMN downvotes SET DEFAULT FALSE,
|
||||||
|
ALTER COLUMN score SET DEFAULT TRUE,
|
||||||
|
ALTER COLUMN upvote_percentage SET DEFAULT TRUE;
|
||||||
|
|
@ -0,0 +1,10 @@
|
|||||||
|
-- Based on a poll, update the local_user_vote_display_mode defaults to:
|
||||||
|
-- Upvotes + Downvotes
|
||||||
|
-- Rather than
|
||||||
|
-- Score + upvote_percentage
|
||||||
|
ALTER TABLE local_user_vote_display_mode
|
||||||
|
ALTER COLUMN upvotes SET DEFAULT TRUE,
|
||||||
|
ALTER COLUMN downvotes SET DEFAULT TRUE,
|
||||||
|
ALTER COLUMN score SET DEFAULT FALSE,
|
||||||
|
ALTER COLUMN upvote_percentage SET DEFAULT FALSE;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user