From: Michael Vogel Date: Sun, 17 Apr 2016 14:41:28 +0000 (+0200) Subject: the "nurl" index was accidentally dropped X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5b6a708007290ee5a366e35ddcbe67c1a7767edd;p=friendica.git the "nurl" index was accidentally dropped --- diff --git a/database.sql b/database.sql index cf003da2a8..07fb65b96d 100644 --- a/database.sql +++ b/database.sql @@ -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`), diff --git a/include/dbstructure.php b/include/dbstructure.php index 529aaaa5e6..e6064b3971 100644 --- a/include/dbstructure.php +++ b/include/dbstructure.php @@ -670,6 +670,7 @@ function db_definition() { ), "indexes" => array( "PRIMARY" => array("id"), + "nurl" => array("nurl"), "name" => array("name"), "nick" => array("nick"), "addr" => array("addr"),