Skip to content
代码片段 群组 项目
未验证 提交 7929f5fe 编辑于 作者: Andy Soiron's avatar Andy Soiron 提交者: GitLab
浏览文件

Merge branch '427696-remove-ai-access-token-column-correction' into 'master'

Drop encrypted_ai_access_token(_iv) from AppSettings

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/134770



Merged-by: default avatarAndy Soiron <asoiron@gitlab.com>
Approved-by: default avatarAndy Soiron <asoiron@gitlab.com>
Reviewed-by: default avatarAndy Soiron <asoiron@gitlab.com>
Co-authored-by: default avatarAleksei Lipniagov <alipniagov@gitlab.com>
No related branches found
No related tags found
无相关合并请求
# frozen_string_literal: true
class RemoveApplicationSettingsAiAccessTokenColumnCorrected < Gitlab::Database::Migration[2.2]
milestone '16.9'
def up
remove_column :application_settings, :encrypted_ai_access_token, if_exists: true
remove_column :application_settings, :encrypted_ai_access_token_iv, if_exists: true
end
def down
add_column :application_settings, :encrypted_ai_access_token, :binary, if_not_exists: true
add_column :application_settings, :encrypted_ai_access_token_iv, :binary, if_not_exists: true
end
end
f10ce3c873e430283102232bf1830eda9a746b42862566500e05f6725988a21d
\ No newline at end of file
...@@ -12584,8 +12584,6 @@ CREATE TABLE application_settings ( ...@@ -12584,8 +12584,6 @@ CREATE TABLE application_settings (
wiki_asciidoc_allow_uri_includes boolean DEFAULT false NOT NULL, wiki_asciidoc_allow_uri_includes boolean DEFAULT false NOT NULL,
namespace_aggregation_schedule_lease_duration_in_seconds integer DEFAULT 300 NOT NULL, namespace_aggregation_schedule_lease_duration_in_seconds integer DEFAULT 300 NOT NULL,
container_registry_data_repair_detail_worker_max_concurrency integer DEFAULT 2 NOT NULL, container_registry_data_repair_detail_worker_max_concurrency integer DEFAULT 2 NOT NULL,
encrypted_ai_access_token bytea,
encrypted_ai_access_token_iv bytea,
vertex_ai_host text, vertex_ai_host text,
encrypted_vertex_ai_credentials bytea, encrypted_vertex_ai_credentials bytea,
encrypted_vertex_ai_credentials_iv bytea, encrypted_vertex_ai_credentials_iv bytea,
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册