Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20150916145038_add_index_for_committed_at_and_id.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 78d9e5f61a1b562a307182059cf4c971d598f142 (plain)
1
2
3
4
5
class AddIndexForCommittedAtAndId < ActiveRecord::Migration
  def change
    add_index :ci_commits, [:project_id, :committed_at, :id]
  end
end