25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

Add a missed SQL index on privacy_list_data table

This commit is contained in:
Alexey Shchepin 2015-03-18 18:46:46 +03:00 committed by Christophe Romain
parent 6b67a66a1b
commit 0eb6b942ff
2 changed files with 4 additions and 0 deletions

View File

@ -161,6 +161,8 @@ CREATE TABLE privacy_list_data (
) ENGINE=InnoDB CHARACTER SET utf8;
CREATE INDEX i_privacy_list_data_id ON privacy_list_data(id);
CREATE INDEX i_privacy_list_data_id USING BTREE ON privacy_list_data(id);
CREATE TABLE private_storage (
username varchar(250) NOT NULL,
namespace varchar(250) NOT NULL,

View File

@ -161,6 +161,8 @@ CREATE TABLE privacy_list_data (
match_presence_out boolean NOT NULL
);
CREATE INDEX i_privacy_list_data_id ON privacy_list_data USING btree (id);
CREATE TABLE private_storage (
username text NOT NULL,
namespace text NOT NULL,