looqs/shared/migrations
Albert S. d900d58f26 shared: migrations: Add 3.sql: Drop potentailly harmful trigger
In [1] it's stated that "If the values "inserted" into the text
columns as part of a 'delete' command are not the same as those
currently stored within the table, the results may be unpredictable."

It's to be assumed only inserting ftsid is unpredictable. We
have no way for a proper delete because files are not immutable
or may have been deleted.

For now the index will contain entries for files that don't exist.
They won't appear in search results as they won't be joined
in the query.

[1] https://www.sqlite.org/fts5.html#the_delete_command
2022-08-14 20:24:21 +02:00
..
1.sql shared: Begin db migration logic 2022-04-15 21:06:56 +02:00
2.sql shared: migrations: Add 2.sql: Change to contentless FTS 2022-07-28 14:00:46 +02:00
3.sql shared: migrations: Add 3.sql: Drop potentailly harmful trigger 2022-08-14 20:24:21 +02:00
migrations.qrc shared: migrations: Add 3.sql: Drop potentailly harmful trigger 2022-08-14 20:24:21 +02:00