]> git.mxchange.org Git - friendica.git/commitdiff
Remove redundant index
authorHypolite Petovan <mrpetovan@gmail.com>
Fri, 15 Dec 2017 16:36:06 +0000 (11:36 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Fri, 15 Dec 2017 16:36:06 +0000 (11:36 -0500)
- Increase UPDATE_VERSION and DB_UPDATE_VERSION

boot.php
src/Database/DBStructure.php
update.php

index 79cf3e5b3e4970c84de8796411969a1da73feb69..695f9e85c5b3519d83f01ff7080762e50bf5f41d 100644 (file)
--- 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);
 
 /**
index 8f879c03287801299e11b45082c15b36e167f13e..7a6c3eaa70487b9c11ea9535761df9e060fd1b2c 100644 (file)
@@ -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"),
                                                )
                                );
index 6bb99af57c0787aaf2fb24da045878b7e2aea07a..9701e9e398fff286991ab0d1838525b0230972df 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define('UPDATE_VERSION' , 1236);
+define('UPDATE_VERSION' , 1237);
 
 use Friendica\Core\Config;
 use Friendica\Core\PConfig;