gitlab-org--gitlab-foss/db/migrate/20151002121400_add_index_fo...

6 lines
136 B
Ruby
Raw Normal View History

2015-10-02 11:46:38 +00:00
class AddIndexForBuildName < ActiveRecord::Migration
def up
add_index :ci_builds, [:commit_id, :stage_idx, :created_at]
end
end