20160715134306_add_index_for_pipeline_user_id.rb 202 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 class AddIndexForPipelineUserId < ActiveRecord::Migration include Gitlab::Database::MigrationHelpers disable_ddl_transaction! def change add_concurrent_index :ci_commits, :user_id end end