diff options
Diffstat (limited to 'db/post_migrate/20211116091751_change_namespace_type_default_to_user.rb')
-rw-r--r-- | db/post_migrate/20211116091751_change_namespace_type_default_to_user.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/db/post_migrate/20211116091751_change_namespace_type_default_to_user.rb b/db/post_migrate/20211116091751_change_namespace_type_default_to_user.rb deleted file mode 100644 index 468b26e9eb1..00000000000 --- a/db/post_migrate/20211116091751_change_namespace_type_default_to_user.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -class ChangeNamespaceTypeDefaultToUser < Gitlab::Database::Migration[1.0] - disable_ddl_transaction! - - def up - with_lock_retries do - change_column_default :namespaces, :type, 'User' - end - end - - def down - with_lock_retries do - change_column_default :namespaces, :type, nil - end - end -end |