mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
erase deleted notes in the migration
This commit is contained in:
parent
0ddaa8f5c2
commit
ff1f01be8c
@ -3,8 +3,12 @@ module.exports = async () => {
|
|||||||
const beccaLoader = require("../../src/becca/becca_loader");
|
const beccaLoader = require("../../src/becca/becca_loader");
|
||||||
const log = require("../../src/services/log");
|
const log = require("../../src/services/log");
|
||||||
const consistencyChecks = require("../../src/services/consistency_checks");
|
const consistencyChecks = require("../../src/services/consistency_checks");
|
||||||
|
const noteService = require("../../src/services/notes");
|
||||||
|
|
||||||
await cls.init(async () => {
|
await cls.init(async () => {
|
||||||
|
// precaution for the 0211 migration
|
||||||
|
noteService.eraseDeletedNotesNow();
|
||||||
|
|
||||||
beccaLoader.load();
|
beccaLoader.load();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user