summaryrefslogtreecommitdiff
path: root/db/migrate/20151002121400_add_index_for_builds.rb
blob: 5e6f80a1d3df36e71e229bb1227d34962bfe096a (plain)
1
2
3
4
5
6
# rubocop:disable all
class AddIndexForBuilds < ActiveRecord::Migration[4.2]
  def up
    add_index :ci_builds, [:commit_id, :stage_idx, :created_at]
  end
end