diff options
author | NikolayS <nsamokhvalov@gitlab.com> | 2018-09-30 21:09:19 -0700 |
---|---|---|
committer | NikolayS <nsamokhvalov@gitlab.com> | 2018-09-30 21:09:19 -0700 |
commit | e320f89c99136d66bf7ca911627deb4d71fe8139 (patch) | |
tree | 2bb052fcde0a50c289aefdd47bb6ffd651fc801a | |
parent | 2816d4bc2aad0af78767091b99f3d9d5b61c32c5 (diff) | |
download | gitlab-ce-nik/cleanup_redundant_indexes.tar.gz |
Add changelog entrynik/cleanup_redundant_indexes
-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 |