diff options
author | Paweł Chmielowski <pawel@process-one.net> | 2022-02-18 16:24:34 +0100 |
---|---|---|
committer | Paweł Chmielowski <pawel@process-one.net> | 2022-02-18 16:24:34 +0100 |
commit | b88fda9494e89a3d821dfcee09d5918d5a960577 (patch) | |
tree | 51a9fbe5d690290fef2d7409ae954651bd462006 | |
parent | Optimize room_unused_* commands (diff) |
Fix sqlite schema
-rw-r--r-- | sql/lite.new.sql | 2 | ||||
-rw-r--r-- | 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, |