aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorPaweł Chmielowski <pawel@process-one.net>2022-02-18 16:24:34 +0100
committerPaweł Chmielowski <pawel@process-one.net>2022-02-18 16:24:34 +0100
commitb88fda9494e89a3d821dfcee09d5918d5a960577 (patch)
tree51a9fbe5d690290fef2d7409ae954651bd462006 /sql
parentOptimize room_unused_* commands (diff)
Fix sqlite schema
Diffstat (limited to 'sql')
-rw-r--r--sql/lite.new.sql2
-rw-r--r--sql/lite.sql2
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,