]> git.mxchange.org Git - friendica.git/commitdiff
dbstructure: the indexes for longer table fields are now shortened
authorMichael Vogel <icarus@dabo.de>
Sun, 22 Jun 2014 23:27:00 +0000 (01:27 +0200)
committerMichael Vogel <icarus@dabo.de>
Sun, 22 Jun 2014 23:27:00 +0000 (01:27 +0200)
include/dbstructure.php

index 40762a9e940a64993f398b6bd2e39470319cfd9c..45ba9b200d651b8a9852d0630207555f45687815 100644 (file)
@@ -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(