shared: migrations: Add 4.sql: Begin trigram index
This commit is contained in:
父節點
3022bbdfb5
當前提交
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>1.sql</file>
|
||||||
<file>2.sql</file>
|
<file>2.sql</file>
|
||||||
<file>3.sql</file>
|
<file>3.sql</file>
|
||||||
|
<file>4.sql</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
載入中…
新增問題並參考
Block a user