diff options
-rw-r--r-- | changelogs/unreleased/nik-cleanup_redundant_indexes.yml | 5 | ||||
-rw-r--r-- | db/schema.rb | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/changelogs/unreleased/nik-cleanup_redundant_indexes.yml b/changelogs/unreleased/nik-cleanup_redundant_indexes.yml new file mode 100644 index 00000000000..198f5700ab3 --- /dev/null +++ b/changelogs/unreleased/nik-cleanup_redundant_indexes.yml @@ -0,0 +1,5 @@ +--- +title: Remove redundant indexes +merge_request: 21178 +author: +type: performance diff --git a/db/schema.rb b/db/schema.rb index 4859294a97f..d2a4c9e0396 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -477,7 +477,6 @@ ActiveRecord::Schema.define(version: 20180930001102) do add_index "ci_pipelines", ["project_id", "sha"], name: "index_ci_pipelines_on_project_id_and_sha", using: :btree add_index "ci_pipelines", ["project_id", "source"], name: "index_ci_pipelines_on_project_id_and_source", using: :btree add_index "ci_pipelines", ["project_id", "status", "config_source"], name: "index_ci_pipelines_on_project_id_and_status_and_config_source", using: :btree - add_index "ci_pipelines", ["project_id"], name: "index_ci_pipelines_on_project_id", using: :btree add_index "ci_pipelines", ["status"], name: "index_ci_pipelines_on_status", using: :btree add_index "ci_pipelines", ["user_id"], name: "index_ci_pipelines_on_user_id", using: :btree |