diff options
author | Erik Johnston <erik@matrix.org> | 2015-12-02 13:29:14 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-12-02 13:29:14 +0000 |
commit | b2def42bfdbb48152479cbb07411f9784c6871ac (patch) | |
tree | 70ce4501d6a1ba6a773e6ba5e2fa6b3e8bb082ef /synapse/storage/schema/delta | |
parent | Merge pull request #410 from matrix-org/markjh/edu_frequency (diff) | |
download | synapse-b2def42bfdbb48152479cbb07411f9784c6871ac.tar.xz |
Older versions of SQLite don't like IF NOT EXISTS in virtual tables
Diffstat (limited to 'synapse/storage/schema/delta')
-rw-r--r-- | synapse/storage/schema/delta/25/fts.py | 2 |
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 )" ) |