]> git.mxchange.org Git - friendica.git/commitdiff
Add a missing relation
authorMichael <heluecht@pirati.ca>
Sun, 30 Apr 2017 20:19:47 +0000 (20:19 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 30 Apr 2017 20:19:47 +0000 (20:19 +0000)
include/dbstructure.php

index cedef40d98221870556430becd23a94fbb970231..25109b5f4008fdae121d6f6db806c88470b6a540 100644 (file)
@@ -1069,7 +1069,7 @@ function db_definition() {
                        );
        $database["item"] = array(
                        "fields" => array(
-                                       "id" => array("type" => "int(10) unsigned", "not null" => "1", "extra" => "auto_increment", "primary" => "1"),
+                                       "id" => array("type" => "int(10) unsigned", "not null" => "1", "extra" => "auto_increment", "primary" => "1", "relation" => array("thread" => "iid")),
                                        "guid" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
                                        "uri" => array("type" => "varchar(255)", "not null" => "1", "default" => ""),
                                        "uid" => array("type" => "int(10) unsigned", "not null" => "1", "default" => "0", "relation" => array("user" => "uid")),