diff options
Diffstat (limited to 'db/migrate/20200413072059_add_group_owners_can_manage_default_branch_protection_to_application_settings.rb')
-rw-r--r-- | db/migrate/20200413072059_add_group_owners_can_manage_default_branch_protection_to_application_settings.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/db/migrate/20200413072059_add_group_owners_can_manage_default_branch_protection_to_application_settings.rb b/db/migrate/20200413072059_add_group_owners_can_manage_default_branch_protection_to_application_settings.rb deleted file mode 100644 index 2918aaea93e..00000000000 --- a/db/migrate/20200413072059_add_group_owners_can_manage_default_branch_protection_to_application_settings.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -class AddGroupOwnersCanManageDefaultBranchProtectionToApplicationSettings < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - disable_ddl_transaction! - - def up - add_column_with_default(:application_settings, # rubocop:disable Migration/AddColumnWithDefault - :group_owners_can_manage_default_branch_protection, - :boolean, - default: true) - end - - def down - remove_column :application_settings, :group_owners_can_manage_default_branch_protection - end -end |