summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-12-02 13:29:14 +0000
committerErik Johnston <erik@matrix.org>2015-12-02 13:29:14 +0000
commitb2def42bfdbb48152479cbb07411f9784c6871ac (patch)
tree70ce4501d6a1ba6a773e6ba5e2fa6b3e8bb082ef /synapse/storage
parentMerge pull request #410 from matrix-org/markjh/edu_frequency (diff)
downloadsynapse-b2def42bfdbb48152479cbb07411f9784c6871ac.tar.xz
Older versions of SQLite don't like IF NOT EXISTS in virtual tables
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/schema/delta/25/fts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/delta/25/fts.py b/synapse/storage/schema/delta/25/fts.py
index 5239d69073..ba48e43792 100644
--- a/synapse/storage/schema/delta/25/fts.py
+++ b/synapse/storage/schema/delta/25/fts.py
@@ -38,7 +38,7 @@ CREATE INDEX event_search_ev_ridx ON event_search(room_id);
 
 
 SQLITE_TABLE = (
-    "CREATE VIRTUAL TABLE IF NOT EXISTS event_search"
+    "CREATE VIRTUAL TABLE event_search"
     " USING fts4 ( event_id, room_id, sender, key, value )"
 )