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 | |
parent | 9250704ecb2af58f455169ab8fb92428584e6488 (diff) | |
download | nextcloud-server-b3ac81f1344634da3027e34000c20b8e13dcad49.tar.gz nextcloud-server-b3ac81f1344634da3027e34000c20b8e13dcad49.zip |
exchange user_id_key for a unique one.
-rw-r--r-- | db_structure.xml | 20 | ||||
-rw-r--r-- | version.php | 2 |
2 files changed, 14 insertions, 8 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> diff --git a/version.php b/version.php index 1113196ce33..d7b80142144 100644 --- a/version.php +++ b/version.php @@ -25,7 +25,7 @@ // We only can count up. The 4. digit is only for the internal patchlevel to trigger DB upgrades // between betas, final and RCs. This is _not_ the public version number. Reset minor/patchlevel // when updating major/minor version number. -$OC_Version = array(9, 0, 0, 14); +$OC_Version = array(9, 0, 0, 15); // The human readable string $OC_VersionString = '9.0.0 beta 2'; |