From b88fda9494e89a3d821dfcee09d5918d5a960577 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= Date: Fri, 18 Feb 2022 16:24:34 +0100 Subject: Fix sqlite schema --- sql/lite.new.sql | 2 +- sql/lite.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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, -- cgit v1.2.3