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 79cf3e5..695f9e8 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 8f879c0..7a6c3ea 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 6bb99af..9701e9e 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define('UPDATE_VERSION' , 1236);
+define('UPDATE_VERSION' , 1237);
 
 use Friendica\Core\Config;
 use Friendica\Core\PConfig;