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

Merge branch...

Merge branch 'overdue-finalize-background-migration--backfill-ci-secure-file-states-project-id' into 'master' 

Finalize migration BackfillCiSecureFileStatesProjectId

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



Merged-by: default avatarAndy Schoenen <asoiron@gitlab.com>
Approved-by: default avatarShubham Kumar <shukumar@gitlab.com>
Approved-by: default avatarDmytro Biryukov <dbiryukov@gitlab.com>
Approved-by: default avatarFabien Catteau <fcatteau@gitlab.com>
Approved-by: default avatarAndy Schoenen <asoiron@gitlab.com>
Reviewed-by: default avatarAndy Schoenen <asoiron@gitlab.com>
Co-authored-by: default avatargdk <gdk@example.com>
No related branches found
No related tags found
2 合并请求!3031Merge per-main-jh to main-jh by luzhiyuan,!3030Merge per-main-jh to main-jh
...@@ -6,4 +6,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/167617 ...@@ -6,4 +6,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/167617
milestone: '17.5' milestone: '17.5'
queued_migration_version: 20240930125311 queued_migration_version: 20240930125311
finalize_after: '2024-10-22' finalize_after: '2024-10-22'
finalized_by: # version of the migration that finalized this BBM finalized_by: '20250308232003'
# frozen_string_literal: true
class FinalizeHkBackfillCiSecureFileStatesProjectId < Gitlab::Database::Migration[2.2]
milestone '17.10'
disable_ddl_transaction!
restrict_gitlab_migration gitlab_schema: :gitlab_ci
def up
ensure_batched_background_migration_is_finished(
job_class_name: 'BackfillCiSecureFileStatesProjectId',
table_name: :ci_secure_file_states,
column_name: :ci_secure_file_id,
job_arguments: [:project_id, :ci_secure_files, :project_id, :ci_secure_file_id],
finalize: true
)
end
def down; end
end
e98f7f0d5ec7e525de83bf57a3c108a205547ac153762397098777b2fe2a222e
\ No newline at end of file
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册