Skip to content
Snippets Groups Projects
Commit 8ad5e6f3 authored by Bojan Marjanovic's avatar Bojan Marjanovic :five:
Browse files

Add vertrex project id to the DB

Changelog: added
parent b413737f
No related branches found
No related tags found
1 merge request!120837Add vertex project id to the DB
# frozen_string_literal: true
class AddVertexProjectToApplicationSettings < Gitlab::Database::Migration[2.1]
disable_ddl_transaction!
def up
add_column :application_settings, :vertex_project, :text, if_not_exists: true
add_text_limit :application_settings, :vertex_project, 255
end
def down
remove_text_limit :application_settings, :vertex_project
remove_column :application_settings, :vertex_project, if_exists: true
end
end
e9b3449d98a151fa834fb8e59ba7cacf7e94ac1357a195a372ff5c515c137ec8
\ No newline at end of file
......@@ -11833,6 +11833,7 @@ CREATE TABLE application_settings (
encrypted_anthropic_api_key bytea,
encrypted_anthropic_api_key_iv bytea,
allow_account_deletion boolean DEFAULT true NOT NULL,
vertex_project text,
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)),
......@@ -11872,6 +11873,7 @@ CREATE TABLE application_settings (
CONSTRAINT check_9a719834eb CHECK ((char_length(secret_detection_token_revocation_url) <= 255)),
CONSTRAINT check_9c6c447a13 CHECK ((char_length(maintenance_mode_message) <= 255)),
CONSTRAINT check_a5704163cc CHECK ((char_length(secret_detection_revocation_token_types_url) <= 255)),
CONSTRAINT check_a8dc89f7c2 CHECK ((char_length(vertex_project) <= 255)),
CONSTRAINT check_b8c74ea5b3 CHECK ((char_length(deactivation_email_additional_text) <= 1000)),
CONSTRAINT check_d03919528d CHECK ((char_length(container_registry_vendor) <= 255)),
CONSTRAINT check_d820146492 CHECK ((char_length(spam_check_endpoint_url) <= 255)),
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment