Skip to content
Snippets Groups Projects
Commit b8680b82 authored by Erik Johnston's avatar Erik Johnston
Browse files

Merge pull request #414 from matrix-org/erikj/if_not_exists

Older versions of SQLite don't like IF NOT EXISTS in virtual tables
parents ac213c2e b2def42b
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ CREATE INDEX event_search_ev_ridx ON event_search(room_id); ...@@ -38,7 +38,7 @@ CREATE INDEX event_search_ev_ridx ON event_search(room_id);
SQLITE_TABLE = ( SQLITE_TABLE = (
"CREATE VIRTUAL TABLE IF NOT EXISTS event_search" "CREATE VIRTUAL TABLE event_search"
" USING fts4 ( event_id, room_id, sender, key, value )" " USING fts4 ( event_id, room_id, sender, key, value )"
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment