summaryrefslogtreecommitdiff
path: root/db/migrate/20200207062728_add_default_branch_protection_to_namespaces.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20200207062728_add_default_branch_protection_to_namespaces.rb')
-rw-r--r--db/migrate/20200207062728_add_default_branch_protection_to_namespaces.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/db/migrate/20200207062728_add_default_branch_protection_to_namespaces.rb b/db/migrate/20200207062728_add_default_branch_protection_to_namespaces.rb
deleted file mode 100644
index 56a30b02290..00000000000
--- a/db/migrate/20200207062728_add_default_branch_protection_to_namespaces.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class AddDefaultBranchProtectionToNamespaces < ActiveRecord::Migration[6.0]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- def up
- with_lock_retries do
- add_column :namespaces, :default_branch_protection, :integer, limit: 2 # rubocop:disable Migration/AddColumnsToWideTables
- end
- end
-
- def down
- with_lock_retries do
- remove_column :namespaces, :default_branch_protection
- end
- end
-end