mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	
		
			
	
	
		
			6 lines
		
	
	
		
			359 B
		
	
	
	
		
			MySQL
		
	
	
	
	
	
		
		
			
		
	
	
			6 lines
		
	
	
		
			359 B
		
	
	
	
		
			MySQL
		
	
	
	
	
	
| 
								 | 
							
								UPDATE notes SET note_id = substr(note_id, 0, 22);
							 | 
						||
| 
								 | 
							
								UPDATE notes_tree SET note_id = substr(note_id, 0, 22), note_pid = substr(note_pid, 0, 22);
							 | 
						||
| 
								 | 
							
								UPDATE notes_history SET note_id = substr(note_id, 0, 22);
							 | 
						||
| 
								 | 
							
								UPDATE audit_log SET note_id = substr(note_id, 0, 22);
							 | 
						||
| 
								 | 
							
								UPDATE links SET note_id = substr(note_id, 0, 22);
							 | 
						||
| 
								 | 
							
								UPDATE images SET note_id = substr(note_id, 0, 22);
							 |