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

Merge branch 'async_rm_index_mrm_merged_by_id' into 'master'

No related branches found
No related tags found
无相关合并请求
# frozen_string_literal: true
class AsyncDropIndexMergeRequestMetricsOnMergedById < Gitlab::Database::Migration[2.2]
milestone '16.9'
TABLE_NAME = 'merge_request_metrics'
INDEX_NAME = 'index_merge_request_metrics_on_merged_by_id'
COLUMN = 'merged_by_id'
# TODO: Index to be destroyed synchronously in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/142357
def up
prepare_async_index_removal TABLE_NAME, COLUMN, name: INDEX_NAME
end
def down
unprepare_async_index TABLE_NAME, COLUMN, name: INDEX_NAME
end
end
e114eaec6871b8e61e52c68f8f7ab7cea05e969b74379fba24da0cbb1243190a
\ No newline at end of file
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册