From c8c7ff2a2e0bc6d3a4058ba421add26dbf065e9a Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 15 Dec 2017 08:43:37 -0500 Subject: [PATCH] Add new UNIQUE index to group_member - Add new index on gid --- src/Database/DBStructure.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(