Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-09-19 23:05:39 +0400
committerRobin Appelman <icewind@owncloud.com>2012-09-20 03:36:52 +0400
commit74ec2765b3bea7d81ede23582073a8911e54b2fd (patch)
tree500276a6aa2da58945fb3ba9ea813199a25322c8 /db_structure.xml
parent499567397dc4b1546740b038adad2f28207ebb55 (diff)
db indexes for appconfig and preferences
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml28
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>