From 2a68591181e0923dc84061008e7204a8bfc8d340 Mon Sep 17 00:00:00 2001 From: Christophe Romain Date: Tue, 17 Jan 2017 16:23:45 +0100 Subject: [PATCH] Remove wrong index setting --- src/mod_roster_mnesia.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mod_roster_mnesia.erl b/src/mod_roster_mnesia.erl index c05716b78..e1a1fa1b5 100644 --- a/src/mod_roster_mnesia.erl +++ b/src/mod_roster_mnesia.erl @@ -47,8 +47,7 @@ init(_Host, _Opts) -> ejabberd_mnesia:create(?MODULE, roster_version, [{disc_copies, [node()]}, {attributes, - record_info(fields, roster_version)}, - {index, [us]}]), + record_info(fields, roster_version)}]), update_tables(). read_roster_version(LUser, LServer) -> -- 2.40.0