mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
erase deleted notes in the migration
This commit is contained in:
@@ -3,8 +3,12 @@ module.exports = async () => {
|
||||
const beccaLoader = require("../../src/becca/becca_loader");
|
||||
const log = require("../../src/services/log");
|
||||
const consistencyChecks = require("../../src/services/consistency_checks");
|
||||
const noteService = require("../../src/services/notes");
|
||||
|
||||
await cls.init(async () => {
|
||||
// precaution for the 0211 migration
|
||||
noteService.eraseDeletedNotesNow();
|
||||
|
||||
beccaLoader.load();
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user