From 6dbd68e0cb96c2a79e36fc4f1e449eaca55f3fa5 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 15 Dec 2017 11:36:06 -0500 Subject: [PATCH] Remove redundant index - Increase UPDATE_VERSION and DB_UPDATE_VERSION --- boot.php | 2 +- src/Database/DBStructure.php | 1 - update.php | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) 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 @@