mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Forgot to regenerate the rows.
This commit is contained in:
parent
b9e49d63cd
commit
260d235027
@ -8,3 +8,13 @@ ALTER TABLE local_user_vote_display_mode
|
||||
ALTER COLUMN score SET DEFAULT FALSE,
|
||||
ALTER COLUMN upvote_percentage SET DEFAULT FALSE;
|
||||
|
||||
-- Regenerate the rows with the new default
|
||||
DELETE FROM local_user_vote_display_mode;
|
||||
|
||||
-- Re-insert them
|
||||
INSERT INTO local_user_vote_display_mode (local_user_id)
|
||||
SELECT
|
||||
id
|
||||
FROM
|
||||
local_user;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user