db indexes for appconfig and preferences

remotes/origin/stable45
Robin Appelman 13 years ago
parent 499567397d
commit 74ec2765b3
  1. 28
      db_structure.xml
  2. 2
      lib/util.php

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

@ -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);
}
/**

Loading…
Cancel
Save