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

20151002121400_add_index_for_builds.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4ffc1363910dab6f9e4443d06d2b1146d5f18136 (plain)
1
2
3
4
5
class AddIndexForBuilds < ActiveRecord::Migration
  def up
    add_index :ci_builds, [:commit_id, :stage_idx, :created_at]
  end
end