mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-18 07:03:52 +01:00
Merge pull request #414 from matrix-org/erikj/if_not_exists
Older versions of SQLite don't like IF NOT EXISTS in virtual tables
This commit is contained in:
commit
b8680b82c3
1 changed files with 1 additions and 1 deletions
|
@ -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 )"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue