summaryrefslogtreecommitdiff
path: root/db/migrate/20150916145038_add_index_for_committed_at_and_id.rb
blob: a18ed93cf37b032c9b62086fd6fc9c68973ab6e6 (plain)
1
2
3
4
5
6
# rubocop:disable all
class AddIndexForCommittedAtAndId < ActiveRecord::Migration
  def change
    add_index :ci_commits, [:project_id, :committed_at, :id]
  end
end