mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-25 14:00:19 +00:00
99d585b7be
* Change defaults on user vote display mode to upvotes + downvotes * Forgot to regenerate the rows. * Drop and re-add columns instead.
10 lines
380 B
SQL
10 lines
380 B
SQL
ALTER TABLE local_user_vote_display_mode
|
|
DROP COLUMN score,
|
|
ADD COLUMN score boolean DEFAULT TRUE NOT NULL,
|
|
DROP COLUMN upvotes,
|
|
ADD COLUMN upvotes boolean DEFAULT FALSE NOT NULL,
|
|
DROP COLUMN downvotes,
|
|
ADD COLUMN downvotes boolean DEFAULT FALSE NOT NULL,
|
|
DROP COLUMN upvote_percentage,
|
|
ADD COLUMN upvote_percentage boolean DEFAULT TRUE NOT NULL;
|
|
|