mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			3 lines
		
	
	
		
			259 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
			
		
		
	
	
			3 lines
		
	
	
		
			259 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
DELETE FROM branches WHERE noteId = '_globalNoteMap' AND parentNoteId != 'singles' AND parentNoteId != '_hidden'; -- make sure there are no clones which would fail at the next line
 | 
						|
UPDATE branches SET parentNoteId = '_hidden' WHERE noteId = '_globalNoteMap';
 |