diff options
Diffstat (limited to 'db/migrate/20220613112029_add_namespace_id_to_protected_branches.rb')
-rw-r--r-- | db/migrate/20220613112029_add_namespace_id_to_protected_branches.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20220613112029_add_namespace_id_to_protected_branches.rb b/db/migrate/20220613112029_add_namespace_id_to_protected_branches.rb new file mode 100644 index 00000000000..1620a23d564 --- /dev/null +++ b/db/migrate/20220613112029_add_namespace_id_to_protected_branches.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +class AddNamespaceIdToProtectedBranches < Gitlab::Database::Migration[2.0] + enable_lock_retries! + + def change + add_column :protected_branches, :namespace_id, :bigint + end +end |