db indexes for appconfig and preferences

This commit is contained in:
Robin Appelman 2012-09-19 21:05:39 +02:00
parent 499567397d
commit 74ec2765b3
2 changed files with 29 additions and 1 deletions

View file

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

View file

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