From: Hypolite Petovan Date: Fri, 15 Dec 2017 16:36:06 +0000 (-0500) Subject: Remove redundant index X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6dbd68e0cb96c2a79e36fc4f1e449eaca55f3fa5;p=friendica.git Remove redundant index - Increase UPDATE_VERSION and DB_UPDATE_VERSION --- diff --git a/boot.php b/boot.php index 79cf3e5b3e..695f9e85c5 100644 --- a/boot.php +++ b/boot.php @@ -43,7 +43,7 @@ define('FRIENDICA_PLATFORM', 'Friendica'); define('FRIENDICA_CODENAME', 'Asparagus'); define('FRIENDICA_VERSION', '3.6-dev'); define('DFRN_PROTOCOL_VERSION', '2.23'); -define('DB_UPDATE_VERSION', 1236); +define('DB_UPDATE_VERSION', 1237); define('NEW_UPDATE_ROUTINE_VERSION', 1170); /** diff --git a/src/Database/DBStructure.php b/src/Database/DBStructure.php index 8f879c0328..7a6c3eaa70 100644 --- a/src/Database/DBStructure.php +++ b/src/Database/DBStructure.php @@ -996,7 +996,6 @@ class DBStructure { "indexes" => array( "PRIMARY" => array("id"), "contactid" => array("contact-id"), - "gid" => array("gid"), "gid_contactid" => array("UNIQUE", "gid", "contact-id"), ) ); diff --git a/update.php b/update.php index 6bb99af57c..9701e9e398 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@