From 9d88b62d4ea75d794de866f239a1f7d9553e94a6 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 13 Feb 2024 13:29:23 -0500 Subject: [PATCH] Changing HideDownvotes to Score. --- crates/db_schema/src/lib.rs | 4 ++-- .../2024-02-12-211114_add_vote_display_mode_setting/up.sql | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/db_schema/src/lib.rs b/crates/db_schema/src/lib.rs index 222f819ee..7045ba409 100644 --- a/crates/db_schema/src/lib.rs +++ b/crates/db_schema/src/lib.rs @@ -174,8 +174,8 @@ pub enum VoteDisplayMode { ScoreAndUpvotePercentage, /// Shows the upvote percentage only. UpvotePercentage, - /// Shows the score, but hides downvotes. - HideDownvotes, + /// Shows the score, but hides everything else. + Score, /// Hides all scores and votes. HideAll, } diff --git a/migrations/2024-02-12-211114_add_vote_display_mode_setting/up.sql b/migrations/2024-02-12-211114_add_vote_display_mode_setting/up.sql index 1b0ddb69c..20af5535e 100644 --- a/migrations/2024-02-12-211114_add_vote_display_mode_setting/up.sql +++ b/migrations/2024-02-12-211114_add_vote_display_mode_setting/up.sql @@ -2,7 +2,7 @@ CREATE TYPE vote_display_mode_enum AS enum ( 'Full', 'ScoreAndUpvotePercentage', 'UpvotePercentage', - 'HideDownvotes', + 'Score', 'HideAll' );