diff options
| author | Douwe Maan <douwe@selenight.nl> | 2017-02-08 19:20:27 -0600 |
|---|---|---|
| committer | Douwe Maan <douwe@selenight.nl> | 2017-02-08 19:20:27 -0600 |
| commit | 29a32cfc229798f8214b57dd03d74b3072544c8b (patch) | |
| tree | c158a378e29a27c28050d51397d972dbab09ae99 /db | |
| parent | 63c5b541a3be014341b3b239cb795479026e9a99 (diff) | |
| download | gitlab-ce-29a32cfc229798f8214b57dd03d74b3072544c8b.tar.gz | |
Migration does not require downtime
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrate/20160519203051_add_developers_can_merge_to_protected_branches.rb | 2 |
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 |
