summaryrefslogtreecommitdiff
path: root/db/migrate/20160320204112_index_namespaces_on_visibility_level.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20160320204112_index_namespaces_on_visibility_level.rb')
-rw-r--r--db/migrate/20160320204112_index_namespaces_on_visibility_level.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20160320204112_index_namespaces_on_visibility_level.rb b/db/migrate/20160320204112_index_namespaces_on_visibility_level.rb
new file mode 100644
index 00000000000..b3145443497
--- /dev/null
+++ b/db/migrate/20160320204112_index_namespaces_on_visibility_level.rb
@@ -0,0 +1,5 @@
+class IndexNamespacesOnVisibilityLevel < ActiveRecord::Migration
+ def change
+ add_index :namespaces, :visibility_level
+ end
+end