mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-25 22:01:19 +00:00
Change defaults on user vote display mode to upvotes + downvotes
This commit is contained in:
parent
705e86eb4c
commit
b9e49d63cd
2 changed files with 16 additions and 0 deletions
|
@ -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 a new issue