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

Merge branch...

Merge branch 'overdue-finalize-background-migration--backfill-dast-site-profile-secret-variables-project-id' into 'master' 

Finalize migration BackfillDastSiteProfileSecretVariablesProjectId

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



Merged-by: default avatarDylan Griffith <dyl.griffith@gmail.com>
Approved-by: default avatarArpit Gogia <12347103-arpitgogia@users.noreply.gitlab.com>
Approved-by: default avatarDylan Griffith <dyl.griffith@gmail.com>
Co-authored-by: default avatargdk <gdk@example.com>
No related branches found
No related tags found
无相关合并请求
--- ---
migration_job_name: BackfillDastSiteProfileSecretVariablesProjectId migration_job_name: BackfillDastSiteProfileSecretVariablesProjectId
description: Backfills sharding key `dast_site_profile_secret_variables.project_id` from `dast_site_profiles`. description: Backfills sharding key `dast_site_profile_secret_variables.project_id`
from `dast_site_profiles`.
feature_category: dynamic_application_security_testing feature_category: dynamic_application_security_testing
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/155491 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/155491
milestone: '17.1' milestone: '17.1'
queued_migration_version: 20240605192711 queued_migration_version: 20240605192711
finalized_by: # version of the migration that finalized this BBM finalized_by: '20241103232302'
# frozen_string_literal: true
class FinalizeBackfillDastSiteProfileSecretVariablesProjectId < Gitlab::Database::Migration[2.2]
milestone '17.6'
disable_ddl_transaction!
restrict_gitlab_migration gitlab_schema: :gitlab_main_cell
def up
ensure_batched_background_migration_is_finished(
job_class_name: 'BackfillDastSiteProfileSecretVariablesProjectId',
table_name: :dast_site_profile_secret_variables,
column_name: :id,
job_arguments: [:project_id, :dast_site_profiles, :project_id, :dast_site_profile_id],
finalize: true
)
end
def down; end
end
19ad7e18e150444fa63771e3304172eb487488075f0cfa427c6ccf1b4c332490
\ No newline at end of file
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册