diff --git a/db/migrations/0210__consistency_checks.js b/db/migrations/0210__consistency_checks.js index f49fd0fd4..f3809fa06 100644 --- a/db/migrations/0210__consistency_checks.js +++ b/db/migrations/0210__consistency_checks.js @@ -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 {