Commit 50f65416 authored by Yorick Peterse's avatar Yorick Peterse

Added index on issues.state

This field is queried when filtering issues and due to the lack of an
index would end up triggering a sequence scan.
parent a42d469a
class AddIssuesStateIndex < ActiveRecord::Migration
def change
add_index :issues, :state
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment