1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 09:49:18 +02:00

Update SQL archive index to match mysql.sql

This commit is contained in:
Alexey Shchepin 2017-10-27 15:20:29 +03:00
parent b6c88fb17e
commit e1c8e88d87
3 changed files with 3 additions and 3 deletions

View file

@ -101,7 +101,7 @@ CREATE TABLE archive (
created_at TIMESTAMP NOT NULL DEFAULT now()
);
CREATE INDEX i_username ON archive USING btree (username);
CREATE INDEX i_username_timestamp ON archive USING btree (username, timestamp);
CREATE INDEX i_timestamp ON archive USING btree (timestamp);
CREATE INDEX i_peer ON archive USING btree (peer);
CREATE INDEX i_bare_peer ON archive USING btree (bare_peer);