shared: migrations: Add 4.sql: Begin trigram index

Tá an tiomantas seo le fáil i:
Albert S. 2022-10-18 16:04:00 +02:00
tuismitheoir 3022bbdfb5
tiomantas 45659cdc59
D'athraigh 2 comhad le 4 breiseanna agus 0 scriosta

3
shared/migrations/4.sql Comhad gnáth
Féach ar an gComhad

@ -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);

Féach ar an gComhad

@ -3,5 +3,6 @@
<file>1.sql</file>
<file>2.sql</file>
<file>3.sql</file>
<file>4.sql</file>
</qresource>
</RCC>