]> git.mxchange.org Git - friendica.git/commitdiff
Remove extraneous relation on item-content.id
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 22 Mar 2020 14:28:13 +0000 (10:28 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 22 Mar 2020 14:28:13 +0000 (10:28 -0400)
static/dbstructure.config.php

index 5afc17eaf677c5a25364d8bdf9d894d2bcdf6ed3..707e39468ea722c453be0575500f6d1b8a33329e 100755 (executable)
@@ -775,7 +775,7 @@ return [
        "item-content" => [
                "comment" => "Content for all posts",
                "fields" => [
-                       "id" => ["type" => "int unsigned", "not null" => "1", "extra" => "auto_increment", "primary" => "1", "relation" => ["thread" => "iid"]],
+                       "id" => ["type" => "int unsigned", "not null" => "1", "extra" => "auto_increment", "primary" => "1"],
                        "uri" => ["type" => "varchar(255)", "comment" => ""],
                        "uri-id" => ["type" => "int unsigned", "relation" => ["item-uri" => "id"], "comment" => "Id of the item-uri table entry that contains the item uri"],
                        "uri-plink-hash" => ["type" => "varchar(80)", "not null" => "1", "default" => "", "comment" => "RIPEMD-128 hash from uri"],