summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-11-18 15:23:39 +0100
committerJames Lopez <james@jameslopez.es>2016-11-18 15:23:39 +0100
commit0a6d3533b1adb62fe09d45b8f59483204ab122c8 (patch)
tree3de244caff98e3a81c290cb75ab7a8c177470676 /db
parentf5b792e22eb7bd4ecafcd2ad3bc7a388abb36ffc (diff)
downloadgitlab-ce-0a6d3533b1adb62fe09d45b8f59483204ab122c8.tar.gz
fix migration missing ignored transaction method
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20161020083353_add_pipeline_id_to_merge_request_metrics.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrate/20161020083353_add_pipeline_id_to_merge_request_metrics.rb b/db/migrate/20161020083353_add_pipeline_id_to_merge_request_metrics.rb
index ed53756cd24..f49df6802a7 100644
--- a/db/migrate/20161020083353_add_pipeline_id_to_merge_request_metrics.rb
+++ b/db/migrate/20161020083353_add_pipeline_id_to_merge_request_metrics.rb
@@ -4,6 +4,8 @@
class AddPipelineIdToMergeRequestMetrics < ActiveRecord::Migration
include Gitlab::Database::MigrationHelpers
+ disable_ddl_transaction!
+
# Set this constant to true if this migration requires downtime.
DOWNTIME = true