lemmy/migrations/2024-04-05-153647_alter_vote_display_mode_defaults/down.sql

6 lines
226 B
SQL

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;