diff --git a/sql/lite.new.sql b/sql/lite.new.sql index f4b73dcb2..9eb34c974 100644 --- a/sql/lite.new.sql +++ b/sql/lite.new.sql @@ -285,7 +285,7 @@ CREATE TABLE muc_room ( ); CREATE UNIQUE INDEX i_muc_room_name_host ON muc_room (name, host); -CREATE INDEX i_muc_room_host_created_at ON muc_room USING btree (host, created_at); +CREATE INDEX i_muc_room_host_created_at ON muc_room (host, created_at); CREATE TABLE muc_registered ( jid text NOT NULL, diff --git a/sql/lite.sql b/sql/lite.sql index b62295120..0580fcbaa 100644 --- a/sql/lite.sql +++ b/sql/lite.sql @@ -260,7 +260,7 @@ CREATE TABLE muc_room ( ); CREATE UNIQUE INDEX i_muc_room_name_host ON muc_room (name, host); -CREATE INDEX i_muc_room_host_created_at ON muc_room USING btree (host, created_at); +CREATE INDEX i_muc_room_host_created_at ON muc_room (host, created_at); CREATE TABLE muc_registered ( jid text NOT NULL,