From ed00ee766bf5d24f5cc429e746bab01ababe7939 Mon Sep 17 00:00:00 2001 From: Gabriel Grubba <70247653+Grubba27@users.noreply.github.com> Date: Fri, 25 Oct 2024 05:48:52 -0300 Subject: [PATCH] DEV: Update plugin annotations (#213) --- app/models/discourse_topic_voting/category_setting.rb | 2 +- app/models/discourse_topic_voting/topic_vote_count.rb | 1 + app/models/discourse_topic_voting/vote.rb | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/models/discourse_topic_voting/category_setting.rb b/app/models/discourse_topic_voting/category_setting.rb index 01d1158..1d0777b 100644 --- a/app/models/discourse_topic_voting/category_setting.rb +++ b/app/models/discourse_topic_voting/category_setting.rb @@ -50,5 +50,5 @@ def reset_voting_cache # # Indexes # -# index_topic_voting_category_settings_on_category_id (category_id) UNIQUE +# topic_voting_category_settings_category_id_idx (category_id) UNIQUE # diff --git a/app/models/discourse_topic_voting/topic_vote_count.rb b/app/models/discourse_topic_voting/topic_vote_count.rb index 3402655..5b83a3a 100644 --- a/app/models/discourse_topic_voting/topic_vote_count.rb +++ b/app/models/discourse_topic_voting/topic_vote_count.rb @@ -21,4 +21,5 @@ class TopicVoteCount < ActiveRecord::Base # Indexes # # index_topic_voting_topic_vote_count_on_topic_id (topic_id) UNIQUE +# topic_voting_topic_vote_count_topic_id_idx (topic_id) UNIQUE # diff --git a/app/models/discourse_topic_voting/vote.rb b/app/models/discourse_topic_voting/vote.rb index bd6cc87..5e0ccca 100644 --- a/app/models/discourse_topic_voting/vote.rb +++ b/app/models/discourse_topic_voting/vote.rb @@ -22,5 +22,5 @@ class Vote < ActiveRecord::Base # # Indexes # -# index_topic_voting_votes_on_user_id_and_topic_id (user_id,topic_id) UNIQUE +# topic_voting_votes_user_id_topic_id_idx (user_id,topic_id) UNIQUE #