mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	added contentLength to note entity
This commit is contained in:
		| @@ -465,9 +465,10 @@ async function eraseDeletedNotes() { | ||||
|     // it's better to not use repository for this because it will complain about saving protected notes | ||||
|     // out of protected session | ||||
|  | ||||
|     // setting contentLength to zero would serve no benefit and it leaves potentially useful trail | ||||
|     await sql.executeMany(` | ||||
|         UPDATE notes  | ||||
|         SET isErased = 1,  | ||||
|         SET isErased = 1, | ||||
|             utcDateModified = '${utcNowDateTime}', | ||||
|             dateModified = '${localNowDateTime}' | ||||
|         WHERE noteId IN (???)`, noteIdsToErase); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user