From cefb36fb67d88dcce9374aa7332770cccd861bf3 Mon Sep 17 00:00:00 2001
From: Michael <heluecht@pirati.ca>
Date: Wed, 4 Jan 2017 23:28:51 +0000
Subject: [PATCH] Some more indexes on the contact table

---
 include/dbstructure.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/dbstructure.php b/include/dbstructure.php
index 646fc408cf..bb77579142 100644
--- a/include/dbstructure.php
+++ b/include/dbstructure.php
@@ -588,7 +588,8 @@ function db_definition($charset) {
 					"PRIMARY" => array("id"),
 					"uid" => array("uid"),
 					"addr_uid" => array("addr(32)", "uid"),
-					"nurl" => array("nurl(32)"),
+					"nurl_uid" => array("nurl(32)", "uid"),
+					"nick_uid" => array("nick(32)", "uid"),
 					)
 			);
 	$database["conv"] = array(