Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2014-12-26 11:07:02 +0300
committerMarin Jankovski <maxlazio@gmail.com>2014-12-26 11:07:02 +0300
commit6ce3b1a31174a9f09dd34c114c7fb13d898db6ec (patch)
treef0e014c622dea07a1724874776d60939feec0044 /db/migrate
parente46f546b4cf0218dcec0771381d0718e0ba72f58 (diff)
Add migration for developers can push to protected branches flag.
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20141226080412_add_developers_can_push_to_protected_branches.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20141226080412_add_developers_can_push_to_protected_branches.rb b/db/migrate/20141226080412_add_developers_can_push_to_protected_branches.rb
new file mode 100644
index 00000000000..70e7272f7f3
--- /dev/null
+++ b/db/migrate/20141226080412_add_developers_can_push_to_protected_branches.rb
@@ -0,0 +1,5 @@
+class AddDevelopersCanPushToProtectedBranches < ActiveRecord::Migration
+ def change
+ add_column :protected_branches, :developers_can_push, :boolean, default: false, null: false
+ end
+end