]> git.mxchange.org Git - friendica.git/commitdiff
the "nurl" index was accidentally dropped
authorMichael Vogel <icarus@dabo.de>
Sun, 17 Apr 2016 14:41:28 +0000 (16:41 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 1 May 2016 11:48:52 +0000 (13:48 +0200)
database.sql
include/dbstructure.php

index cf003da2a8a3f1207119115346a97d6732e54eba..07fb65b96d9ebf59e68fa119e926d062c6605b13 100644 (file)
@@ -334,6 +334,7 @@ CREATE TABLE IF NOT EXISTS `gcontact` (
        `generation` tinyint(3) NOT NULL DEFAULT 0,
        `server_url` varchar(255) NOT NULL DEFAULT '',
         PRIMARY KEY(`id`),
+        INDEX `nurl` (`nurl`),
         INDEX `name` (`name`),
         INDEX `nick` (`nick`),
         INDEX `addr` (`addr`),
index 529aaaa5e6bf69d7aea319134786ca2df116f584..e6064b397148bf770c683c29ad6fce890b9eaf60 100644 (file)
@@ -670,6 +670,7 @@ function db_definition() {
                                        ),
                        "indexes" => array(
                                        "PRIMARY" => array("id"),
+                                       "nurl" => array("nurl"),
                                        "name" => array("name"),
                                        "nick" => array("nick"),
                                        "addr" => array("addr"),