From f1c53530a13ca73281f5dc1dd51ac1319f138e81 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 30 Apr 2017 20:19:47 +0000 Subject: [PATCH] Add a missing relation --- include/dbstructure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dbstructure.php b/include/dbstructure.php index cedef40d98..25109b5f40 100644 --- a/include/dbstructure.php +++ b/include/dbstructure.php @@ -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")), -- 2.39.5