shared: migrations: Add 4.sql: Begin trigram index
This commit is contained in:
rodzic
3022bbdfb5
commit
45659cdc59
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);
|
@ -3,5 +3,6 @@
|
||||
<file>1.sql</file>
|
||||
<file>2.sql</file>
|
||||
<file>3.sql</file>
|
||||
<file>4.sql</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
Ładowanie…
Reference in New Issue
Block a user