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

index 7c400a892579ef2c580ef472743509b42aec2add..5afc17eaf677c5a25364d8bdf9d894d2bcdf6ed3 100755 (executable)
@@ -759,7 +759,7 @@ return [
        "item-activity" => [
                "comment" => "Activities for items",
                "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-hash" => ["type" => "varchar(80)", "not null" => "1", "default" => "", "comment" => "RIPEMD-128 hash from uri"],