Skip to content
代码片段 群组 项目
提交 c250b62d 编辑于 作者: Eugie Limpin's avatar Eugie Limpin
浏览文件

Remove unused arkose_labs_verify_api_url col from application_settings

Changelog: removed
上级 1079a53c
No related branches found
No related tags found
无相关合并请求
# frozen_string_literal: true
class RemoveArkoseLabsVerifyApiUrlColumn < Gitlab::Database::Migration[2.2]
milestone '17.3'
disable_ddl_transaction!
def up
remove_column :application_settings, :arkose_labs_verify_api_url, if_exists: true
end
def down
add_column :application_settings, :arkose_labs_verify_api_url, :text, if_not_exists: true
add_check_constraint(:application_settings, 'char_length(arkose_labs_verify_api_url) <= 255', 'check_f6563bc000')
end
end
cec936d36dad587ebfd4d331979b08561688468b5b508de7bd484a0270ad0fa5
\ No newline at end of file
......@@ -5606,7 +5606,6 @@ CREATE TABLE application_settings (
encrypted_arkose_labs_public_api_key_iv bytea,
encrypted_arkose_labs_private_api_key bytea,
encrypted_arkose_labs_private_api_key_iv bytea,
arkose_labs_verify_api_url text,
delete_inactive_projects boolean DEFAULT false NOT NULL,
inactive_projects_delete_after_months integer DEFAULT 2 NOT NULL,
inactive_projects_min_size_mb integer DEFAULT 0 NOT NULL,
......@@ -5834,8 +5833,7 @@ CREATE TABLE application_settings (
CONSTRAINT check_e2dd6e290a CHECK ((char_length(jira_connect_application_key) <= 255)),
CONSTRAINT check_e5024c8801 CHECK ((char_length(elasticsearch_username) <= 255)),
CONSTRAINT check_e5aba18f02 CHECK ((char_length(container_registry_version) <= 255)),
CONSTRAINT check_ef6176834f CHECK ((char_length(encrypted_cloud_license_auth_token_iv) <= 255)),
CONSTRAINT check_f6563bc000 CHECK ((char_length(arkose_labs_verify_api_url) <= 255))
CONSTRAINT check_ef6176834f CHECK ((char_length(encrypted_cloud_license_auth_token_iv) <= 255))
);
 
COMMENT ON COLUMN application_settings.content_validation_endpoint_url IS 'JiHu-specific column';
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册