summary refs log tree commit diff
path: root/synapse/storage/events.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-05-11 12:46:55 +0100
committerRichard van der Hoff <richard@matrix.org>2017-05-11 12:46:55 +0100
commit34194aaff7c86d57c6dabfb016b7597d999b2001 (patch)
tree83183237f8bf7edd191d8ab67eaae9d449d1cac5 /synapse/storage/events.py
parentAdd more logging for purging (diff)
downloadsynapse-34194aaff7c86d57c6dabfb016b7597d999b2001.tar.xz
Don't create event_search index on sqlite
... because the table is virtual
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r--synapse/storage/events.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index 627e91a522..ea6879c619 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -216,6 +216,7 @@ class EventsStore(SQLBaseStore):
             table="event_search",
             columns=["event_id"],
             unique=True,
+            psql_only=True,
         )
 
         self._event_persist_queue = _EventPeristenceQueue()