removed FTS5 completely

This commit is contained in:
zadam
2019-04-21 12:03:13 +02:00
parent 151641b659
commit 1990c9399e
12 changed files with 56 additions and 188 deletions

View File

@@ -35,7 +35,6 @@ const repository = require('../services/repository');
const sql = require('../services/sql');
const utils = require('../services/utils');
const dateUtils = require('../services/date_utils');
const noteFulltextService = require('../services/note_fulltext');
const syncTableService = require('../services/sync_table');
const LABEL = 'label';
@@ -114,7 +113,6 @@ class Note extends Entity {
}
this.content = res.content;
this.contentHash = res.contentHash; // used only for note_fulltext consistency check
if (this.isProtected) {
if (this.isContentAvailable) {
@@ -759,10 +757,6 @@ class Note extends Entity {
delete pojo.content;
delete pojo.contentHash;
}
async afterSaving() {
noteFulltextService.triggerNoteFulltextUpdate(this.noteId);
}
}
module.exports = Note;</code></pre>