From 29a32cfc229798f8214b57dd03d74b3072544c8b Mon Sep 17 00:00:00 2001 From: Douwe Maan <douwe@selenight.nl> Date: Wed, 8 Feb 2017 19:20:27 -0600 Subject: [PATCH] Migration does not require downtime --- ...0519203051_add_developers_can_merge_to_protected_branches.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/migrate/20160519203051_add_developers_can_merge_to_protected_branches.rb b/db/migrate/20160519203051_add_developers_can_merge_to_protected_branches.rb index 6ca97e39a3d..ac50035eba4 100644 --- a/db/migrate/20160519203051_add_developers_can_merge_to_protected_branches.rb +++ b/db/migrate/20160519203051_add_developers_can_merge_to_protected_branches.rb @@ -1,6 +1,8 @@ class AddDevelopersCanMergeToProtectedBranches < ActiveRecord::Migration include Gitlab::Database::MigrationHelpers + DOWNTIME = false + disable_ddl_transaction! def up -- GitLab