summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-02-08 19:20:27 -0600
committerDouwe Maan <douwe@selenight.nl>2017-02-08 19:20:27 -0600
commit29a32cfc229798f8214b57dd03d74b3072544c8b (patch)
treec158a378e29a27c28050d51397d972dbab09ae99
parent63c5b541a3be014341b3b239cb795479026e9a99 (diff)
downloadgitlab-ce-29a32cfc229798f8214b57dd03d74b3072544c8b.tar.gz
Migration does not require downtime
-rw-r--r--db/migrate/20160519203051_add_developers_can_merge_to_protected_branches.rb2
1 files changed, 2 insertions, 0 deletions
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