diff options
Diffstat (limited to 'db/migrate/20210225153522_add_allow_force_push_to_protected_branches.rb')
-rw-r--r-- | db/migrate/20210225153522_add_allow_force_push_to_protected_branches.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/db/migrate/20210225153522_add_allow_force_push_to_protected_branches.rb b/db/migrate/20210225153522_add_allow_force_push_to_protected_branches.rb deleted file mode 100644 index 92a15cb45dd..00000000000 --- a/db/migrate/20210225153522_add_allow_force_push_to_protected_branches.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -class AddAllowForcePushToProtectedBranches < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - def up - with_lock_retries do - add_column :protected_branches, :allow_force_push, :boolean, default: false, null: false - end - end - - def down - with_lock_retries do - remove_column :protected_branches, :allow_force_push - end - end -end |