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