diff options
Diffstat (limited to 'db/migrate/20220803004853_add_auto_ban_user_to_namespace_settings.rb')
-rw-r--r-- | db/migrate/20220803004853_add_auto_ban_user_to_namespace_settings.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20220803004853_add_auto_ban_user_to_namespace_settings.rb b/db/migrate/20220803004853_add_auto_ban_user_to_namespace_settings.rb new file mode 100644 index 00000000000..6e03177ce7a --- /dev/null +++ b/db/migrate/20220803004853_add_auto_ban_user_to_namespace_settings.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +class AddAutoBanUserToNamespaceSettings < Gitlab::Database::Migration[2.0] + enable_lock_retries! + + def change + add_column :namespace_settings, :auto_ban_user_on_excessive_projects_download, :boolean, + default: false, null: false + end +end |