mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	make migration more robust, fixes #1271
This commit is contained in:
		| @@ -11,7 +11,7 @@ INSERT INTO note_contents_mig (noteId, content, hash, dateModified, utcDateModif | |||||||
|     SELECT noteId, |     SELECT noteId, | ||||||
|            content, |            content, | ||||||
|            hash, |            hash, | ||||||
|            (SELECT dateModified FROM notes WHERE noteId = note_contents.noteId), |            COALESCE((SELECT dateModified FROM notes WHERE noteId = note_contents.noteId), utcDateModified), | ||||||
|            utcDateModified |            utcDateModified | ||||||
|     FROM note_contents; |     FROM note_contents; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user