diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-07-18 15:01:57 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-07-18 15:01:57 +0300 |
commit | a0260bb57777ae66353bbcd079405702cc6800d7 (patch) | |
tree | 24ef4737c07e0ec2abaf4ca4f4aeda06363ded01 /db/migrate/20160715134306_add_index_for_pipeline_user_id.rb | |
parent | 550466dd34cb97d4704644b292ab1ef271222981 (diff) |
Disable transaction when adding index for Ci::Pipeline
Diffstat (limited to 'db/migrate/20160715134306_add_index_for_pipeline_user_id.rb')
-rw-r--r-- | db/migrate/20160715134306_add_index_for_pipeline_user_id.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |