From 8574bf62dc27ec3c2059c57a32c955e85d7e51df Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 7 Apr 2015 12:09:36 +0100 Subject: [PATCH] Add index to presence table --- synapse/storage/schema/delta/15/presence_indices.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 synapse/storage/schema/delta/15/presence_indices.sql diff --git a/synapse/storage/schema/delta/15/presence_indices.sql b/synapse/storage/schema/delta/15/presence_indices.sql new file mode 100644 index 0000000000..6b8d0f1ca7 --- /dev/null +++ b/synapse/storage/schema/delta/15/presence_indices.sql @@ -0,0 +1,2 @@ + +CREATE INDEX IF NOT EXISTS presence_list_user_id ON presence_list (user_id);