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 /db_structure.xml | |
parent | 499567397dc4b1546740b038adad2f28207ebb55 (diff) | |
download | nextcloud-server-74ec2765b3bea7d81ede23582073a8911e54b2fd.tar.gz nextcloud-server-74ec2765b3bea7d81ede23582073a8911e54b2fd.zip |
db indexes for appconfig and preferences
Diffstat (limited to 'db_structure.xml')
-rw-r--r-- | db_structure.xml | 28 |
1 files changed, 28 insertions, 0 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> |