From 3b33712dc9f4a3debfb98bc892034d7e41804a17 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Tue, 19 Mar 2013 01:35:12 +0100 Subject: [PATCH] Add indexes and primary keys. --- db_structure.xml | 54 ++++++++++++++++++++++++++++++++++++++++++++++++ lib/util.php | 2 +- 2 files changed, 55 insertions(+), 1 deletion(-) diff --git a/db_structure.xml b/db_structure.xml index 3ce41096d9..c8a0b26896 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 + + diff --git a/lib/util.php b/lib/util.php index e79daae8a0..fad49ac5ab 100755 --- a/lib/util.php +++ b/lib/util.php @@ -75,7 +75,7 @@ class OC_Util { public static function getVersion() { // hint: We only can count up. Reset minor/patchlevel when // updating major/minor version number. - return array(5, 80, 00); + return array(5, 80, 01); } /**