diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2016-02-26 01:02:22 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2016-02-26 01:02:22 +0100 |
commit | b3ac81f1344634da3027e34000c20b8e13dcad49 (patch) | |
tree | 487bea25c5f71b6e5cd1c51ae5c1ab4210658fcf /db_structure.xml | |
parent | 9250704ecb2af58f455169ab8fb92428584e6488 (diff) | |
download | nextcloud-server-b3ac81f1344634da3027e34000c20b8e13dcad49.tar.gz nextcloud-server-b3ac81f1344634da3027e34000c20b8e13dcad49.zip |
exchange user_id_key for a unique one.
Diffstat (limited to 'db_structure.xml')
-rw-r--r-- | db_structure.xml | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/db_structure.xml b/db_structure.xml index acdd2a5a577..99541a4f901 100644 --- a/db_structure.xml +++ b/db_structure.xml @@ -1575,7 +1575,6 @@ <name>creation_timestamp</name> <sorting>descending</sorting> </field> - <!-- TODO: check whether this supports a query without creation timestamp --> </index> <index> @@ -1635,17 +1634,25 @@ </field> <index> - <name>comments_marker_user_id_index</name> + <name>comments_marker_object_index</name> <unique>false</unique> <field> - <name>user_id</name> - <sorting>descending</sorting> + <name>object_type</name> + <sorting>ascending</sorting> + </field> + <field> + <name>object_id</name> + <sorting>ascending</sorting> </field> </index> <index> - <name>comments_marker_object_index</name> - <unique>false</unique> + <name>comments_marker_index</name> + <unique>true</unique> + <field> + <name>user_id</name> + <sorting>descending</sorting> + </field> <field> <name>object_type</name> <sorting>ascending</sorting> @@ -1654,7 +1661,6 @@ <name>object_id</name> <sorting>ascending</sorting> </field> - <!-- TODO: check whether this supports a query with user_id --> </index> </declaration> |