mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 07:01:31 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			6 lines
		
	
	
		
			359 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			359 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
UPDATE notes SET note_id = substr(note_id, 0, 13);
 | 
						|
UPDATE notes_tree SET note_id = substr(note_id, 0, 13), note_pid = substr(note_pid, 0, 13);
 | 
						|
UPDATE notes_history SET note_id = substr(note_id, 0, 13);
 | 
						|
UPDATE audit_log SET note_id = substr(note_id, 0, 13);
 | 
						|
UPDATE links SET note_id = substr(note_id, 0, 13);
 | 
						|
UPDATE images SET note_id = substr(note_id, 0, 13); |