summaryrefslogtreecommitdiffstats
path: root/db_structure.xml
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-01-21 22:31:44 +0100
committerRobin Appelman <icewind@owncloud.com>2013-01-21 22:31:44 +0100
commit8ede3290ae2da4b04f451ff3d502f0ac60ac6585 (patch)
treea344ac133c74cddf9c15f543db1e771be2c58d28 /db_structure.xml
parent1762378f67085cc9e8fecb287d73f1f1570cb3cc (diff)
downloadnextcloud-server-8ede3290ae2da4b04f451ff3d502f0ac60ac6585.tar.gz
nextcloud-server-8ede3290ae2da4b04f451ff3d502f0ac60ac6585.zip
Cache: add database indexes for mimetype and mimepart
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/db_structure.xml b/db_structure.xml
index f1f02572819..479ee3259ff 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -258,6 +258,30 @@
</field>
</index>
+ <index>
+ <name>fs_storage_mimetype</name>
+ <field>
+ <name>storage</name>
+ <sorting>ascending</sorting>
+ </field>
+ <field>
+ <name>mimetype</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+
+ <index>
+ <name>fs_storage_mimepart</name>
+ <field>
+ <name>storage</name>
+ <sorting>ascending</sorting>
+ </field>
+ <field>
+ <name>mimepart</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+
</declaration>
</table>