erase deleted notes in the migration

This commit is contained in:
zadam 2022-12-28 12:58:53 +01:00
parent 0ddaa8f5c2
commit ff1f01be8c

View file

@ -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 {