From 9250704ecb2af58f455169ab8fb92428584e6488 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 24 Feb 2016 21:11:03 +0100 Subject: add index definitions for comments tables --- db_structure.xml | 51 +++++++++++++++++++++++++++++++++++++++++---------- version.php | 2 +- 2 files changed, 42 insertions(+), 11 deletions(-) diff --git a/db_structure.xml b/db_structure.xml index b1242171127..acdd2a5a577 100644 --- a/db_structure.xml +++ b/db_structure.xml @@ -1541,8 +1541,7 @@ true 64 - + + + + comments_actor_index + false + + actor_type + ascending + + + actor_id + ascending + ---> @@ -1626,6 +1634,29 @@ 64 + + comments_marker_user_id_index + false + + user_id + descending + + + + + comments_marker_object_index + false + + object_type + ascending + + + object_id + ascending + + + + diff --git a/version.php b/version.php index 4ae94717c3d..1113196ce33 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, 13); +$OC_Version = array(9, 0, 0, 14); // The human readable string $OC_VersionString = '9.0.0 beta 2'; -- cgit v1.2.3 From b3ac81f1344634da3027e34000c20b8e13dcad49 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Fri, 26 Feb 2016 01:02:22 +0100 Subject: exchange user_id_key for a unique one. --- db_structure.xml | 20 +++++++++++++------- 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 @@ creation_timestamp descending - @@ -1635,17 +1634,25 @@ - comments_marker_user_id_index + comments_marker_object_index false - user_id - descending + object_type + ascending + + + object_id + ascending - comments_marker_object_index - false + comments_marker_index + true + + user_id + descending + object_type ascending @@ -1654,7 +1661,6 @@ object_id ascending - 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'; -- cgit v1.2.3