mirror of
https://github.com/zadam/trilium.git
synced 2024-12-26 09:12:08 +08:00
erase deleted notes in the migration
This commit is contained in:
parent
0ddaa8f5c2
commit
ff1f01be8c
1 changed files with 4 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue