Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20230720062249_add_package_registry_allow_anyone_to_pull_option_to_application_settings.rb')
-rw-r--r--db/migrate/20230720062249_add_package_registry_allow_anyone_to_pull_option_to_application_settings.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20230720062249_add_package_registry_allow_anyone_to_pull_option_to_application_settings.rb b/db/migrate/20230720062249_add_package_registry_allow_anyone_to_pull_option_to_application_settings.rb
new file mode 100644
index 00000000000..eff2b271f86
--- /dev/null
+++ b/db/migrate/20230720062249_add_package_registry_allow_anyone_to_pull_option_to_application_settings.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+class AddPackageRegistryAllowAnyoneToPullOptionToApplicationSettings < Gitlab::Database::Migration[2.1]
+ enable_lock_retries!
+
+ def change
+ add_column :application_settings, :package_registry_allow_anyone_to_pull_option, :boolean, null: false,
+ default: true
+ end
+end