summaryrefslogtreecommitdiff
path: root/GITLAB_WORKHORSE_VERSION
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2017-09-19 00:37:38 +0200
committerYorick Peterse <yorickpeterse@gmail.com>2017-09-19 00:39:52 +0200
commit05a8f401c20e2a0b35360544aba12905239cc369 (patch)
treef85865a690e62e59725118f413ae157e7a736ba3 /GITLAB_WORKHORSE_VERSION
parent0223d84e797c914542882646c4faa97760c1a21c (diff)
downloadgitlab-ce-05a8f401c20e2a0b35360544aba12905239cc369.tar.gz
Reorganize indexes for the "deployments" tablereoganize-deployment-indexes
This removes the need for a default scope that adds a "WHERE project_id = X" clause. This commit also includes an additional index for Environment#last_deployment, ensuring this query uses just an index scan instead of also applying a Filter. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36877
Diffstat (limited to 'GITLAB_WORKHORSE_VERSION')
0 files changed, 0 insertions, 0 deletions