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

20141028162820_add_sha_index_to_build.rb « migrate « ci « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bd2a4de5657cc672550832d3d00fa8547b68192d (plain)
1
2
3
4
5
6
class AddShaIndexToBuild < ActiveRecord::Migration
  def change
    add_index :builds, :sha
    add_index :builds, [:project_id, :sha]
  end
end