diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-09-19 21:05:39 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-09-20 01:36:52 +0200 |
commit | 74ec2765b3bea7d81ede23582073a8911e54b2fd (patch) | |
tree | 500276a6aa2da58945fb3ba9ea813199a25322c8 | |
parent | 499567397dc4b1546740b038adad2f28207ebb55 (diff) | |
download | nextcloud-server-74ec2765b3bea7d81ede23582073a8911e54b2fd.tar.gz nextcloud-server-74ec2765b3bea7d81ede23582073a8911e54b2fd.zip |
db indexes for appconfig and preferences
-rw-r--r-- | db_structure.xml | 28 | ||||
-rwxr-xr-x | lib/util.php | 2 |
2 files changed, 29 insertions, 1 deletions
diff --git a/db_structure.xml b/db_structure.xml index 00866b6ebaf..b35a6c7cdc2 100644 --- a/db_structure.xml +++ b/db_structure.xml @@ -35,6 +35,18 @@ <notnull>true</notnull> </field> + <index> + <name>appconfig_appid_key_index</name> + <field> + <name>appid</name> + <sorting>ascending</sorting> + </field> + <field> + <name>configkey</name> + <sorting>ascending</sorting> + </field> + </index> + </declaration> </table> @@ -392,6 +404,22 @@ <notnull>false</notnull> </field> + <index> + <name>preferences_userid_appid_key_index</name> + <field> + <name>userid</name> + <sorting>ascending</sorting> + </field> + <field> + <name>appid</name> + <sorting>ascending</sorting> + </field> + <field> + <name>configkey</name> + <sorting>ascending</sorting> + </field> + </index> + </declaration> </table> diff --git a/lib/util.php b/lib/util.php index d0ea1591298..08412464254 100755 --- a/lib/util.php +++ b/lib/util.php @@ -81,7 +81,7 @@ class OC_Util { */ public static function getVersion() { // hint: We only can count up. So the internal version number of ownCloud 4.5 will be 4,9,0. This is not visible to the user - return array(4,84,9); + return array(4,84,10); } /** |