From: Michael Date: Wed, 11 Mar 2020 20:49:23 +0000 (+0000) Subject: Fix 8401: Don't let dbstructure think that it needs to update the table X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=82589a29cd8b37ab4c30983398d6ba94fc163ece;p=friendica.git Fix 8401: Don't let dbstructure think that it needs to update the table --- diff --git a/static/dbstructure.config.php b/static/dbstructure.config.php index b8daa4eee0..7c400a8925 100755 --- a/static/dbstructure.config.php +++ b/static/dbstructure.config.php @@ -320,8 +320,8 @@ return [ "contact-relation" => [ "comment" => "Contact relations", "fields" => [ - "cid" => ["type" => "int unsigned", "not null" => "1", "default" => "0", "relation" => ["contact" => "id"], "comment" => "contact the related contact had interacted with"], - "relation-cid" => ["type" => "int unsigned", "not null" => "1", "default" => "0", "relation" => ["contact" => "id"], "comment" => "related contact who had interacted with the contact"], + "cid" => ["type" => "int unsigned", "not null" => "1", "default" => "0", "relation" => ["contact" => "id"], "primary" => "1", "comment" => "contact the related contact had interacted with"], + "relation-cid" => ["type" => "int unsigned", "not null" => "1", "default" => "0", "relation" => ["contact" => "id"], "primary" => "1", "comment" => "related contact who had interacted with the contact"], "last-interaction" => ["type" => "datetime", "not null" => "1", "default" => DBA::NULL_DATETIME, "comment" => "Date of the last interaction"], ], "indexes" => [