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
path: root/db
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-11-10 06:14:28 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-11-10 06:14:28 +0300
commit5b225821d01b3ffd1d3c2f741c62bc0c56920a07 (patch)
treeee0064c12aae8e2a645e6b81ef6aafd926c1e306 /db
parent0abbeedd2fe28913033e91964d355addbc8a9746 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20231107205734_add_update_namespace_name_to_application_settings.rb9
-rw-r--r--db/schema_migrations/202311072057341
-rw-r--r--db/structure.sql1
3 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20231107205734_add_update_namespace_name_to_application_settings.rb b/db/migrate/20231107205734_add_update_namespace_name_to_application_settings.rb
new file mode 100644
index 00000000000..a812166ed9d
--- /dev/null
+++ b/db/migrate/20231107205734_add_update_namespace_name_to_application_settings.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+class AddUpdateNamespaceNameToApplicationSettings < Gitlab::Database::Migration[2.2]
+ milestone '16.6'
+
+ def change
+ add_column :application_settings, :update_namespace_name_rate_limit, :smallint, default: 120, null: false
+ end
+end
diff --git a/db/schema_migrations/20231107205734 b/db/schema_migrations/20231107205734
new file mode 100644
index 00000000000..8c5a02b54a8
--- /dev/null
+++ b/db/schema_migrations/20231107205734
@@ -0,0 +1 @@
+72f0dde010df3c7bd9f8e5f44510f9d9eae275d1f6c4c3a72fa5813a2d9f3992 \ No newline at end of file
diff --git a/db/structure.sql b/db/structure.sql
index f19fcbe3f53..dce4b395301 100644
--- a/db/structure.sql
+++ b/db/structure.sql
@@ -12121,6 +12121,7 @@ CREATE TABLE application_settings (
service_access_tokens_expiration_enforced boolean DEFAULT true NOT NULL,
enable_artifact_external_redirect_warning_page boolean DEFAULT true NOT NULL,
allow_project_creation_for_guest_and_below boolean DEFAULT true NOT NULL,
+ update_namespace_name_rate_limit smallint DEFAULT 120 NOT NULL,
CONSTRAINT app_settings_container_reg_cleanup_tags_max_list_size_positive CHECK ((container_registry_cleanup_tags_service_max_list_size >= 0)),
CONSTRAINT app_settings_container_registry_pre_import_tags_rate_positive CHECK ((container_registry_pre_import_tags_rate >= (0)::numeric)),
CONSTRAINT app_settings_dep_proxy_ttl_policies_worker_capacity_positive CHECK ((dependency_proxy_ttl_group_policy_worker_capacity >= 0)),