Commit d7cb5751 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'remove-redundant-epic-issues-index' into 'master'

Remove redundant index_epic_issues_on_epic_id

See merge request gitlab-org/gitlab!79925
parents 775c519e 08ea1d38
# frozen_string_literal: true
class RemoveIndexEpicIssuesOnEpicId < Gitlab::Database::Migration[1.0]
INDEX = 'index_epic_issues_on_epic_id'
disable_ddl_transaction!
def up
remove_concurrent_index_by_name :epic_issues, name: INDEX
end
def down
add_concurrent_index :epic_issues, :epic_id, name: INDEX
end
end
d6b7fa6e5be83aa67bb479604bf6ddb9d8caae82fc8ea1ab7f34d5c534174ecf
\ No newline at end of file
......@@ -26245,8 +26245,6 @@ CREATE UNIQUE INDEX index_epic_board_list_preferences_on_user_and_list ON boards
CREATE UNIQUE INDEX index_epic_board_recent_visits_on_user_group_and_board ON boards_epic_board_recent_visits USING btree (user_id, group_id, epic_board_id);
CREATE INDEX index_epic_issues_on_epic_id ON epic_issues USING btree (epic_id);
CREATE INDEX index_epic_issues_on_epic_id_and_issue_id ON epic_issues USING btree (epic_id, issue_id);
CREATE UNIQUE INDEX index_epic_issues_on_issue_id ON epic_issues USING btree (issue_id);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment