2016-07-15 13:46:49 +00:00
|
|
|
class AddIndexForPipelineUserId < ActiveRecord::Migration
|
|
|
|
include Gitlab::Database::MigrationHelpers
|
|
|
|
|
2016-07-18 12:01:57 +00:00
|
|
|
disable_ddl_transaction!
|
|
|
|
|
2016-07-15 13:46:49 +00:00
|
|
|
def change
|
2016-07-15 16:01:43 +00:00
|
|
|
add_concurrent_index :ci_commits, :user_id
|
2016-07-15 13:46:49 +00:00
|
|
|
end
|
|
|
|
end
|