From f0528469144ed46f7684ac1465dc7e9f8869d7f9 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Tue, 19 Mar 2013 01:35:12 +0100 Subject: Add indexes and primary keys. --- db_structure.xml | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) (limited to 'db_structure.xml') diff --git a/db_structure.xml b/db_structure.xml index 3ce41096d9e..c8a0b268968 100644 --- a/db_structure.xml +++ b/db_structure.xml @@ -37,6 +37,8 @@ appconfig_appid_key_index + true + true appid ascending @@ -134,6 +136,7 @@ file_map_lp_index + true true logic_path_hash @@ -379,6 +382,7 @@ id_user_index true + true fileid ascending @@ -415,6 +419,20 @@ 64 + + gu_gid_uid_index + true + true + + gid + ascending + + + uid + ascending + + + @@ -448,6 +466,20 @@ + + ga_gid_uid_index + true + true + + gid + ascending + + + uid + ascending + + + @@ -596,6 +628,8 @@ pref_userid_appid_key_index + true + true userid ascending @@ -620,6 +654,15 @@ + + id + 1 + integer + 0 + true + 4 + + userid text @@ -651,6 +694,17 @@ 255 + + user_propertypath_index + + userid + ascending + + + propertypath + ascending + + -- cgit v1.2.3