20151002121400_add_index_for_builds.rb 133 Bytes EditWeb IDE 1 2 3 4 5 class AddIndexForBuilds < ActiveRecord::Migration def up add_index :ci_builds, [:commit_id, :stage_idx, :created_at] end end