gitlab-org--gitlab-foss/db/migrate/20151016195706_add_notes_line_code_index.rb
Yorick Peterse f405954764 Added indexes for notes.line_code and CI columns
This adds indexes for the following columns:

* notes.line_code
* ci_projects.gitlab_id
* ci_projects.shared_runners_enabled
* ci_builds.type
* ci_builds.status
2015-10-16 21:58:30 +02:00

5 lines
110 B
Ruby

class AddNotesLineCodeIndex < ActiveRecord::Migration
def change
add_index :notes, :line_code
end
end