gitlab-org--gitlab-foss/db/migrate/20151002121400_add_index_for_builds.rb

6 lines
133 B
Ruby
Raw Normal View History

class AddIndexForBuilds < ActiveRecord::Migration
2015-10-02 07:46:38 -04:00
def up
add_index :ci_builds, [:commit_id, :stage_idx, :created_at]
end
end