debian-mirror-gitlab/db/migrate/20151002121400_add_index_for_builds.rb
2019-02-15 15:39:39 +05:30

6 lines
160 B
Ruby

# rubocop:disable all
class AddIndexForBuilds < ActiveRecord::Migration[4.2]
def up
add_index :ci_builds, [:commit_id, :stage_idx, :created_at]
end
end