diff options
author | Marco Wessel <marco@poop.nl> | 2015-01-25 18:33:54 +0300 |
---|---|---|
committer | Marco Wessel <marco@poop.nl> | 2015-01-25 19:09:10 +0300 |
commit | aad6ceaef9ccfba8e058012a0877b80c103a3838 (patch) | |
tree | 33042a755f2c35024c140f20e9d63aba7e450ff4 /db/migrate/20150125163100_add_default_branch_protection_setting.rb | |
parent | 254d1d7aa07fd1b45dd4090e98bcba86f5d3c699 (diff) |
Allow configuring protection of the default branch upon first push
Diffstat (limited to 'db/migrate/20150125163100_add_default_branch_protection_setting.rb')
-rw-r--r-- | db/migrate/20150125163100_add_default_branch_protection_setting.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20150125163100_add_default_branch_protection_setting.rb b/db/migrate/20150125163100_add_default_branch_protection_setting.rb new file mode 100644 index 00000000000..5020daf55f3 --- /dev/null +++ b/db/migrate/20150125163100_add_default_branch_protection_setting.rb @@ -0,0 +1,5 @@ +class AddDefaultBranchProtectionSetting < ActiveRecord::Migration + def change + add_column :application_settings, :default_branch_protection, :integer, :default => 2 + end +end |