From: Michael Vogel Date: Sun, 22 Jun 2014 23:27:00 +0000 (+0200) Subject: dbstructure: the indexes for longer table fields are now shortened X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=79f7f609b3bce65eab5b143d4b306328c1724ca5;p=friendica.git dbstructure: the indexes for longer table fields are now shortened --- diff --git a/include/dbstructure.php b/include/dbstructure.php index 40762a9e94..45ba9b200d 100644 --- a/include/dbstructure.php +++ b/include/dbstructure.php @@ -354,7 +354,7 @@ function db_definition() { ), "indexes" => array( "PRIMARY" => array("id"), - "access" => array("cat","k"), + "access" => array("cat(30)","k(30)"), ) ); $database["contact"] = array( @@ -638,7 +638,7 @@ function db_definition() { ), "indexes" => array( "PRIMARY" => array("id"), - "hook_file_function" => array("hook","file","function"), + "hook_file_function" => array("hook(30)","file(60)","function(30)"), ) ); $database["intro"] = array( @@ -890,7 +890,7 @@ function db_definition() { ), "indexes" => array( "PRIMARY" => array("id"), - "access" => array("uid","cat","k"), + "access" => array("uid","cat(30)","k(30)"), ) ); $database["photo"] = array(