mirror of
https://github.com/element-hq/synapse.git
synced 2026-11-13 11:57:48 +00:00
Older versions of SQLite don't like IF NOT EXISTS in virtual tables
This commit is contained in:
1 parent
58d0927767
commit
b2def42bfd
1 file changed
+1
-1
@@ -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 )"
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user