summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-12-03 13:21:09 +0000
committerErik Johnston <erik@matrix.org>2015-12-03 13:21:09 +0000
commitb8680b82c372398fa5d3aaf3e30616f900fafbdf (patch)
tree27cc7a5c673da27b5de7988fc0d6836628111c52 /synapse
parentMerge pull request #415 from matrix-org/daniel/endpoints (diff)
parentOlder versions of SQLite don't like IF NOT EXISTS in virtual tables (diff)
downloadsynapse-b8680b82c372398fa5d3aaf3e30616f900fafbdf.tar.xz
Merge pull request #414 from matrix-org/erikj/if_not_exists
Older versions of SQLite don't like IF NOT EXISTS in virtual tables
Diffstat (limited to '')
-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 )"
 )