shared: migrations: Add 4.sql: Begin trigram index
This commit is contained in:
3
shared/migrations/4.sql
Normal file
3
shared/migrations/4.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
CREATE VIRTUAL TABLE fts_trigram USING fts5(content, content='',tokenize="trigram");
|
||||
ALTER TABLE content ADD COLUMN fts_trigramid integer;
|
||||
CREATE INDEX content_fts_trigramid ON content (fts_trigramid);
|
||||
Reference in New Issue
Block a user