summaryrefslogtreecommitdiff
path: root/db/migrate/20151002121400_add_index_for_build_name.rb
blob: c6a81d74661153b1847c573d53f7f59d5323ecd6 (plain)
1
2
3
4
5
class AddIndexForBuildName < ActiveRecord::Migration
  def up
    add_index :ci_builds, [:commit_id, :stage_idx, :created_at]
  end
end