diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-13 00:18:30 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-13 00:18:30 +0300 |
commit | ac48f7c24110a7a1e0a0aa49fc7838ab03c28374 (patch) | |
tree | 0d323ff3b3317315241fd1c784d82bfa0577711e /db | |
parent | 6ce6d20cf0b81275bad7bf8e95cf49bd475c5c4f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20230323021618_add_silent_mode_enabled_to_application_settings.rb | 7 | ||||
-rw-r--r-- | db/schema_migrations/20230323021618 | 1 | ||||
-rw-r--r-- | db/structure.sql | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20230323021618_add_silent_mode_enabled_to_application_settings.rb b/db/migrate/20230323021618_add_silent_mode_enabled_to_application_settings.rb new file mode 100644 index 00000000000..e3592e0bd13 --- /dev/null +++ b/db/migrate/20230323021618_add_silent_mode_enabled_to_application_settings.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +class AddSilentModeEnabledToApplicationSettings < Gitlab::Database::Migration[2.1] + def change + add_column :application_settings, :silent_mode_enabled, :boolean, default: false, null: false, if_not_exists: true + end +end diff --git a/db/schema_migrations/20230323021618 b/db/schema_migrations/20230323021618 new file mode 100644 index 00000000000..49e2c251987 --- /dev/null +++ b/db/schema_migrations/20230323021618 @@ -0,0 +1 @@ +4eed46d4a2ae17425076dbb60b5669317d8edb7252246dddf914411f0a267897
\ No newline at end of file diff --git a/db/structure.sql b/db/structure.sql index d5d04ff6878..6b7322ad2f5 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -11757,6 +11757,7 @@ CREATE TABLE application_settings ( encrypted_openai_api_key bytea, encrypted_openai_api_key_iv bytea, database_max_running_batched_background_migrations integer DEFAULT 2 NOT NULL, + silent_mode_enabled boolean DEFAULT false 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)), |