Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
# frozen_string_literal: true
class CreateSuggestedForIndex < ActiveRecord::Migration[4.2]
def change
add_index :topics,
%i[created_at visible],
where: "deleted_at IS NULL AND archetype <> 'private_message'"
end