exchange user_id_key for a unique one.

This commit is contained in:
Arthur Schiwon 2016-02-26 01:02:22 +01:00
parent 9250704ecb
commit b3ac81f134
2 changed files with 18 additions and 12 deletions

View File

@ -1575,7 +1575,6 @@
<name>creation_timestamp</name> <name>creation_timestamp</name>
<sorting>descending</sorting> <sorting>descending</sorting>
</field> </field>
<!-- TODO: check whether this supports a query without creation timestamp -->
</index> </index>
<index> <index>
@ -1634,15 +1633,6 @@
<length>64</length> <length>64</length>
</field> </field>
<index>
<name>comments_marker_user_id_index</name>
<unique>false</unique>
<field>
<name>user_id</name>
<sorting>descending</sorting>
</field>
</index>
<index> <index>
<name>comments_marker_object_index</name> <name>comments_marker_object_index</name>
<unique>false</unique> <unique>false</unique>
@ -1654,7 +1644,23 @@
<name>object_id</name> <name>object_id</name>
<sorting>ascending</sorting> <sorting>ascending</sorting>
</field> </field>
<!-- TODO: check whether this supports a query with user_id --> </index>
<index>
<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>
</field>
<field>
<name>object_id</name>
<sorting>ascending</sorting>
</field>
</index> </index>
</declaration> </declaration>

View File

@ -25,7 +25,7 @@
// We only can count up. The 4. digit is only for the internal patchlevel to trigger DB upgrades // 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 // between betas, final and RCs. This is _not_ the public version number. Reset minor/patchlevel
// when updating major/minor version number. // when updating major/minor version number.
$OC_Version = array(9, 0, 0, 14); $OC_Version = array(9, 0, 0, 15);
// The human readable string // The human readable string
$OC_VersionString = '9.0.0 beta 2'; $OC_VersionString = '9.0.0 beta 2';