diff options
author | Erik Johnston <erik@matrix.org> | 2015-12-03 13:21:09 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-12-03 13:21:09 +0000 |
commit | b8680b82c372398fa5d3aaf3e30616f900fafbdf (patch) | |
tree | 27cc7a5c673da27b5de7988fc0d6836628111c52 /synapse | |
parent | Merge pull request #415 from matrix-org/daniel/endpoints (diff) | |
parent | Older versions of SQLite don't like IF NOT EXISTS in virtual tables (diff) | |
download | synapse-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 'synapse')
-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 )" ) |