From a0260bb57777ae66353bbcd079405702cc6800d7 Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Mon, 18 Jul 2016 14:01:57 +0200 Subject: Disable transaction when adding index for Ci::Pipeline --- db/migrate/20160715134306_add_index_for_pipeline_user_id.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'db/migrate') diff --git a/db/migrate/20160715134306_add_index_for_pipeline_user_id.rb b/db/migrate/20160715134306_add_index_for_pipeline_user_id.rb index e09caa0e6d7..7c991c6d998 100644 --- a/db/migrate/20160715134306_add_index_for_pipeline_user_id.rb +++ b/db/migrate/20160715134306_add_index_for_pipeline_user_id.rb @@ -1,6 +1,8 @@ class AddIndexForPipelineUserId < ActiveRecord::Migration include Gitlab::Database::MigrationHelpers + disable_ddl_transaction! + def change add_concurrent_index :ci_commits, :user_id end -- cgit v1.2.1