mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-03 08:18:42 +08:00
- Adds help strings - Scopes order:votes to categories supporting voting - Adds votes-min and votes-max operators --------- Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com>
8 lines
256 B
Ruby
8 lines
256 B
Ruby
# frozen_string_literal: true
|
|
class AddVoteCountsIndex < ActiveRecord::Migration[8.0]
|
|
def change
|
|
add_index :topic_voting_topic_vote_count,
|
|
:votes_count,
|
|
name: "index_topic_voting_topic_vote_count_on_votes_count"
|
|
end
|
|
end
|