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

Remove duplicated index from alert_management_http_integrations

## What does this MR do and why?

Remove duplicated index from `alert_management_http_integrations` table.

### It removes:

Drop `index_alert_management_http_integrations_on_project_id` as it's already covered by:
| Index | Columns |
| ----- | ------ |
| `index_http_integrations_on_project_and_endpoint` | `project_id asc`, `endpoint_identifier asc` |

It is possible that this MR will still need some changes to drop the index from the database.
Currently, the `gitlab-housekeeper` is not always capable of removing all references, so you must check the diff and pipeline failures to confirm if there are any issues.
Ensure that the index exists in the production database by checking Joe Bot trough https://console.postgres.ai/gitlab.
If the index was already removed or if the index it's being removed in another merge request, consider closing this merge request.

This change was generated by
[gitlab-housekeeper](https://gitlab.com/gitlab-org/gitlab/-/tree/master/gems/gitlab-housekeeper)
using the Keeps::RemoveDuplicatedIndexes keep.

To provide feedback on your experience with `gitlab-housekeeper` please comment in
<https://gitlab.com/gitlab-org/gitlab/-/issues/442003>.

Changelog: other
上级 6490fca7
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册