summaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2018-07-16 18:43:34 +0300
committerValery Sizov <valery@gitlab.com>2018-07-16 19:05:41 +0300
commit125215f2f1374b060bac42397dce48298689f162 (patch)
tree43dd5daebd7e67f5d029b6c7a29e62a52ea15b9e /db/schema.rb
parent2c5e6b272e7984400ac4d297553b3f4f50a8d5c4 (diff)
downloadgitlab-ce-125215f2f1374b060bac42397dce48298689f162.tar.gz
Improve projects indexes4525-fix-project-indexes
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/schema.rb b/db/schema.rb
index d2aa31fae30..1a5555fb3a4 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -1674,6 +1674,7 @@ ActiveRecord::Schema.define(version: 20180704204006) do
add_index "projects", ["path"], name: "index_projects_on_path", using: :btree
add_index "projects", ["path"], name: "index_projects_on_path_trigram", using: :gin, opclasses: {"path"=>"gin_trgm_ops"}
add_index "projects", ["pending_delete"], name: "index_projects_on_pending_delete", using: :btree
+ add_index "projects", ["repository_storage", "created_at"], name: "idx_project_repository_check_partial", where: "(last_repository_check_at IS NULL)", using: :btree
add_index "projects", ["repository_storage"], name: "index_projects_on_repository_storage", using: :btree
add_index "projects", ["runners_token"], name: "index_projects_on_runners_token", using: :btree
add_index "projects", ["star_count"], name: "index_projects_on_star_count", using: :btree