summaryrefslogtreecommitdiffstats
path: root/db_structure.xml
diff options
context:
space:
mode:
authorwindaishi <manuel.strider@web.de>2014-10-17 15:03:27 +0200
committerLukas Reschke <lukas@owncloud.com>2015-02-12 19:12:08 +0100
commitc9b56084051ad33f15ad8a1a7fee95d38ba0d954 (patch)
treeb651d15329f5f6b45e3c961e727f5618a5bef96e /db_structure.xml
parentdfcd4acd5aebfa3476c58c652bbf5545d3882217 (diff)
downloadnextcloud-server-c9b56084051ad33f15ad8a1a7fee95d38ba0d954.tar.gz
nextcloud-server-c9b56084051ad33f15ad8a1a7fee95d38ba0d954.zip
Improve: Index for file_map
Added two indices for file_map, that improve syncing and uploading and deleting files
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/db_structure.xml b/db_structure.xml
index eb6540047d6..8d7cb93a652 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -172,6 +172,24 @@
</field>
</index>
+ <index>
+ <name>file_map_logic_path</name>
+ <unique>false</unique>
+ <field>
+ <name>logic_path</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+
+ <index>
+ <name>file_map_physic_path</name>
+ <unique>false</unique>
+ <field>
+ <name>physic_path</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+
</declaration>
</table>