lemmy/migrations/2024-02-12-211114_add_vote_display_mode_setting/up.sql

14 lines
318 B
MySQL
Raw Normal View History

CREATE TYPE vote_display_mode_enum AS enum (
'Full',
2024-02-27 10:00:29 -05:00
'UpvoteAndDownvote',
2024-02-24 18:20:16 -05:00
'ScoreAndDownvote',
'ScoreAndUpvotePercentage',
'UpvotePercentage',
2024-02-13 13:29:23 -05:00
'Score',
'HideAll'
);
ALTER TABLE local_user
ADD COLUMN vote_display_mode vote_display_mode_enum DEFAULT 'ScoreAndUpvotePercentage' NOT NULL;