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 #