Skip to content
Snippets Groups Projects
Commit 4e898b9b authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Merge branch 'fix-track-user-migration' into 'master'

Disable transaction when adding index for Ci::Pipeline

## What does this MR do?
Adds missing `disable_ddl_transaction!`

## Why was this MR needed?
Fixes a broken migration for PostgreSQL


See merge request !5319
parents 550466dd a0260bb5
No related branches found
No related tags found
No related merge requests found
class AddIndexForPipelineUserId < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
 
disable_ddl_transaction!
def change
add_concurrent_index :ci_commits, :user_id
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment