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>2022-05-16 18:08:39 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-16 18:08:39 +0300
commitd7b1354b396d2e579fd6fe3c18a28b6ffe934f09 (patch)
tree958e3dd6579165d790febba196d64d6ef8c86ea5 /db
parent1c9afffa29584c92bf1bb73c005f69c6875808e6 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20220511191503_add_pipeline_create_limit_per_project_user_sha_to_application_settings.rb7
-rw-r--r--db/schema_migrations/202205111915031
-rw-r--r--db/structure.sql1
3 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20220511191503_add_pipeline_create_limit_per_project_user_sha_to_application_settings.rb b/db/migrate/20220511191503_add_pipeline_create_limit_per_project_user_sha_to_application_settings.rb
new file mode 100644
index 00000000000..6454bac629a
--- /dev/null
+++ b/db/migrate/20220511191503_add_pipeline_create_limit_per_project_user_sha_to_application_settings.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+class AddPipelineCreateLimitPerProjectUserShaToApplicationSettings < Gitlab::Database::Migration[2.0]
+ def change
+ add_column :application_settings, :pipeline_limit_per_project_user_sha, :integer, default: 0, null: false
+ end
+end
diff --git a/db/schema_migrations/20220511191503 b/db/schema_migrations/20220511191503
new file mode 100644
index 00000000000..c8860c56eb6
--- /dev/null
+++ b/db/schema_migrations/20220511191503
@@ -0,0 +1 @@
+dd2733b77f86e108c5015edcdbc715dd011b00479828a7087af9120cc5ae5661 \ No newline at end of file
diff --git a/db/structure.sql b/db/structure.sql
index d43cf258590..163f8159b34 100644
--- a/db/structure.sql
+++ b/db/structure.sql
@@ -11302,6 +11302,7 @@ CREATE TABLE application_settings (
max_export_size integer DEFAULT 0,
container_registry_pre_import_timeout integer DEFAULT 1800 NOT NULL,
container_registry_import_timeout integer DEFAULT 600 NOT NULL,
+ pipeline_limit_per_project_user_sha integer DEFAULT 0 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_dep_proxy_ttl_policies_worker_capacity_positive CHECK ((dependency_proxy_ttl_group_policy_worker_capacity >= 0)),
CONSTRAINT app_settings_ext_pipeline_validation_service_url_text_limit CHECK ((char_length(external_pipeline_validation_service_url) <= 255)),