From c9b56084051ad33f15ad8a1a7fee95d38ba0d954 Mon Sep 17 00:00:00 2001
From: windaishi <manuel.strider@web.de>
Date: Fri, 17 Oct 2014 15:03:27 +0200
Subject: [PATCH] Improve: Index for file_map

Added two indices for file_map, that improve syncing and uploading and deleting files
---
 db_structure.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

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>
-- 
GitLab