aboutsummaryrefslogtreecommitdiff
path: root/sql/lite.new.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/lite.new.sql')
-rw-r--r--sql/lite.new.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/lite.new.sql b/sql/lite.new.sql
index 8e9066eb9..ef22fe3d7 100644
--- a/sql/lite.new.sql
+++ b/sql/lite.new.sql
@@ -109,9 +109,9 @@ CREATE TABLE archive (
);
CREATE INDEX i_archive_sh_username_timestamp ON archive (server_host, username, timestamp);
+CREATE INDEX i_archive_sh_username_peer ON archive (server_host, username, peer);
+CREATE INDEX i_archive_sh_username_bare_peer ON archive (server_host, username, bare_peer);
CREATE INDEX i_archive_sh_timestamp ON archive (server_host, timestamp);
-CREATE INDEX i_archive_sh_peer ON archive (server_host, peer);
-CREATE INDEX i_archive_sh_bare_peer ON archive (server_host, bare_peer);
CREATE TABLE archive_prefs (
username text NOT NULL,