mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +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 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 { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user