]> git.mxchange.org Git - friendica.git/commitdiff
removed foreign key to avoid update errors
authorMichael <heluecht@pirati.ca>
Mon, 11 May 2020 05:48:24 +0000 (05:48 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 11 May 2020 05:48:24 +0000 (05:48 +0000)
static/dbstructure.config.php

index 833d809e72705877f22cc4b756e5bbe72ccb8161..364e2a83c7f4e8f154558f789d7787fd0ec2cd24 100755 (executable)
@@ -936,7 +936,7 @@ return [
                        "id" => ["type" => "int unsigned", "not null" => "1", "extra" => "auto_increment", "primary" => "1", "comment" => "sequential ID"],
                        "notify-id" => ["type" => "int unsigned", "not null" => "1", "default" => "0", "relation" => ["notify" => "id"], "comment" => ""],
                        "master-parent-item" => ["type" => "int unsigned", "not null" => "1", "default" => "0", "relation" => ["item" => "id"], "comment" => ""],
-                       "master-parent-uri-id" => ["type" => "int unsigned", "foreign" => ["item-uri" => "id"], "comment" => "Item-uri id of the parent of the related post"],
+                       "master-parent-uri-id" => ["type" => "int unsigned", "relation" => ["item-uri" => "id"], "comment" => "Item-uri id of the parent of the related post"],
                        "parent-item" => ["type" => "int unsigned", "not null" => "1", "default" => "0", "comment" => ""],
                        "receiver-uid" => ["type" => "mediumint unsigned", "not null" => "1", "default" => "0", "relation" => ["user" => "uid"],
                                "comment" => "User id"],