mirror of
https://github.com/simon987/sist2.git
synced 2025-12-13 15:29:04 +00:00
Add option to search in path for sqlite #402
This commit is contained in:
@@ -160,7 +160,8 @@ void database_fts_index(database_t *db) {
|
||||
|
||||
CRASH_IF_NOT_SQLITE_OK(sqlite3_exec(
|
||||
db->db,
|
||||
"INSERT INTO search(rowid, name, content, title) SELECT id, name, content, title from document_view",
|
||||
"INSERT INTO search(rowid, name, content, title, path) "
|
||||
"SELECT id, name, content, title, path from document_view",
|
||||
NULL, NULL, NULL));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user