diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-16 18:08:39 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-16 18:08:39 +0300 |
commit | d7b1354b396d2e579fd6fe3c18a28b6ffe934f09 (patch) | |
tree | 958e3dd6579165d790febba196d64d6ef8c86ea5 /db | |
parent | 1c9afffa29584c92bf1bb73c005f69c6875808e6 (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.rb | 7 | ||||
-rw-r--r-- | db/schema_migrations/20220511191503 | 1 | ||||
-rw-r--r-- | db/structure.sql | 1 |
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)), |