Use FTS4 in fixtures

Closes #1081
This commit is contained in:
Simon Willison 2020-11-11 16:02:58 -08:00 committed by GitHub
commit e8e0a6f284
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 16 deletions

View file

@ -488,7 +488,7 @@ INSERT INTO searchable_tags (searchable_id, tag) VALUES
;
CREATE VIRTUAL TABLE "searchable_fts"
USING FTS3 (text1, text2, [name with . and spaces], content="searchable");
USING FTS4 (text1, text2, [name with . and spaces], content="searchable");
INSERT INTO "searchable_fts" (rowid, text1, text2, [name with . and spaces])
SELECT rowid, text1, text2, [name with . and spaces] FROM searchable;