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

11 lines
380 B
MySQL
Raw Normal View History

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;