]> git.mxchange.org Git - friendica.git/commitdiff
Finding the best index ...
authorMichael <heluecht@pirati.ca>
Thu, 5 Jan 2017 07:30:10 +0000 (07:30 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 5 Jan 2017 07:30:10 +0000 (07:30 +0000)
include/dbstructure.php

index 46681c0d3573f907d954c20c504119b12871d256..2aea6ec58e48f7ab80b57bd9b238f1da17ffe51f 100644 (file)
@@ -1078,9 +1078,10 @@ function db_definition($charset) {
                        "indexes" => array(
                                        "PRIMARY" => array("id"),
                                        "uid_hash" => array("uid", "hash"),
-                                       "uid_seen" => array("uid", "seen"),
+                                       "uid_seen_date" => array("uid", "seen", "date"),
                                        "uid_type_link" => array("uid", "type", "link"),
                                        "uid_link" => array("uid", "link"),
+                                       "uid_date" => array("uid", "date"),
                                        )
                        );
        $database["notify-threads"] = array(