From: Hypolite Petovan Date: Fri, 15 Dec 2017 13:43:37 +0000 (-0500) Subject: Add new UNIQUE index to group_member X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c8c7ff2a2e0bc6d3a4058ba421add26dbf065e9a;p=friendica.git Add new UNIQUE index to group_member - Add new index on gid --- diff --git a/src/Database/DBStructure.php b/src/Database/DBStructure.php index 3dc555c861..8f879c0328 100644 --- a/src/Database/DBStructure.php +++ b/src/Database/DBStructure.php @@ -996,7 +996,8 @@ class DBStructure { "indexes" => array( "PRIMARY" => array("id"), "contactid" => array("contact-id"), - "gid_contactid" => array("gid", "contact-id"), + "gid" => array("gid"), + "gid_contactid" => array("UNIQUE", "gid", "contact-id"), ) ); $database["gserver"] = array(