mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	fixed saved note migration - need to be migrated as last, #1647
This commit is contained in:
		
							parent
							
								
									2388da7cfb
								
							
						
					
					
						commit
						5542c9dc57
					
				@ -15,6 +15,8 @@ module.exports = () => {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
            note.mime = 'text/plain';
 | 
					            note.mime = 'text/plain';
 | 
				
			||||||
            note.save();
 | 
					            note.save();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            console.log(`Migrated search note ${note.noteId}`);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        catch (e) {
 | 
					        catch (e) {
 | 
				
			||||||
            console.log(`Changing note content for note ${note.noteId} failed with: ${e.message} ${e.stack}`);
 | 
					            console.log(`Changing note content for note ${note.noteId} failed with: ${e.message} ${e.stack}`);
 | 
				
			||||||
@ -4,7 +4,7 @@ const build = require('./build');
 | 
				
			|||||||
const packageJson = require('../../package');
 | 
					const packageJson = require('../../package');
 | 
				
			||||||
const {TRILIUM_DATA_DIR} = require('./data_dir');
 | 
					const {TRILIUM_DATA_DIR} = require('./data_dir');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const APP_DB_VERSION = 182;
 | 
					const APP_DB_VERSION = 183;
 | 
				
			||||||
const SYNC_VERSION = 20;
 | 
					const SYNC_VERSION = 20;
 | 
				
			||||||
const CLIPPER_PROTOCOL_VERSION = "1.0";
 | 
					const CLIPPER_PROTOCOL_VERSION = "1.0";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user