debian-mirror-gitlab/db/migrate/20151002121400_add_index_for_builds.rb

7 lines
160 B
Ruby
Raw Normal View History

# rubocop:disable all
2018-12-23 12:14:25 +05:30
class AddIndexForBuilds < ActiveRecord::Migration[4.2]
2015-10-24 18:46:33 +05:30
def up
add_index :ci_builds, [:commit_id, :stage_idx, :created_at]
end
end