From: Christophe Romain Date: Tue, 17 Jan 2017 15:23:45 +0000 (+0100) Subject: Remove wrong index setting X-Git-Tag: 17.01~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a68591181e0923dc84061008e7204a8bfc8d340;p=ejabberd Remove wrong index setting --- 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) ->