diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2014-12-26 11:07:02 +0300 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2014-12-26 11:07:02 +0300 |
commit | 6ce3b1a31174a9f09dd34c114c7fb13d898db6ec (patch) | |
tree | f0e014c622dea07a1724874776d60939feec0044 /db/migrate | |
parent | e46f546b4cf0218dcec0771381d0718e0ba72f58 (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.rb | 5 |
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 |