diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2015-11-09 17:18:26 +0100 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2015-11-19 11:46:38 +0100 |
commit | d63da890943c57694fab0dc250655a2bcd49fabc (patch) | |
tree | d3477613feea9ad3b721d6bf735d6f9a7fee0f2f /db/migrate | |
parent | 50f654161036ac0f97d9f931dc11678a9509d083 (diff) | |
download | gitlab-ce-d63da890943c57694fab0dc250655a2bcd49fabc.tar.gz |
Added index on projects.visibility_level
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20151109134916_add_projects_visibility_level_index.rb | 5 |
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 |