From: Michael Date: Thu, 5 Jan 2017 07:30:10 +0000 (+0000) Subject: Finding the best index ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=db1c6c06d619a7bd557d00e3b865063379316d9a;p=friendica.git Finding the best index ... --- diff --git a/include/dbstructure.php b/include/dbstructure.php index 46681c0d35..2aea6ec58e 100644 --- a/include/dbstructure.php +++ b/include/dbstructure.php @@ -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(