mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +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, | ||||
|            content, | ||||
|            hash, | ||||
|            (SELECT dateModified FROM notes WHERE noteId = note_contents.noteId), | ||||
|            COALESCE((SELECT dateModified FROM notes WHERE noteId = note_contents.noteId), utcDateModified), | ||||
|            utcDateModified | ||||
|     FROM note_contents; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user