gitlab-org--gitlab-foss/db/migrate/20151002121400_add_index_for_builds.rb
2015-10-05 10:15:40 +02:00

5 lines
133 B
Ruby

class AddIndexForBuilds < ActiveRecord::Migration
def up
add_index :ci_builds, [:commit_id, :stage_idx, :created_at]
end
end