Remove duplicated index from boards_epic_user_preferences
## What does this MR do and why? Remove duplicated index from `boards_epic_user_preferences` table. ### It removes: Drop `index_boards_epic_user_preferences_on_board_id` as it's already covered by: | Index | Columns | | ----- | ------ | | `index_boards_epic_user_preferences_on_board_user_epic_unique` | `board_id asc`, `user_id asc`, `epic_id 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
显示
- db/post_migrate/20240605232756_drop_index_boards_epic_user_preferences_on_board_id.rb 19 个添加, 0 个删除...56_drop_index_boards_epic_user_preferences_on_board_id.rb
- db/schema_migrations/20240605232756 1 个添加, 0 个删除db/schema_migrations/20240605232756
- db/structure.sql 0 个添加, 2 个删除db/structure.sql
- spec/support/helpers/database/duplicate_indexes.yml 0 个添加, 3 个删除spec/support/helpers/database/duplicate_indexes.yml
加载中
想要评论请 注册 或 登录