summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2015-11-09 17:18:26 +0100
committerYorick Peterse <yorickpeterse@gmail.com>2015-11-19 11:46:38 +0100
commitd63da890943c57694fab0dc250655a2bcd49fabc (patch)
treed3477613feea9ad3b721d6bf735d6f9a7fee0f2f /db
parent50f654161036ac0f97d9f931dc11678a9509d083 (diff)
downloadgitlab-ce-d63da890943c57694fab0dc250655a2bcd49fabc.tar.gz
Added index on projects.visibility_level
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20151109134916_add_projects_visibility_level_index.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20151109134916_add_projects_visibility_level_index.rb b/db/migrate/20151109134916_add_projects_visibility_level_index.rb
new file mode 100644
index 00000000000..600b4bafd98
--- /dev/null
+++ b/db/migrate/20151109134916_add_projects_visibility_level_index.rb
@@ -0,0 +1,5 @@
+class AddProjectsVisibilityLevelIndex < ActiveRecord::Migration
+ def change
+ add_index :projects, :visibility_level
+ end
+end