mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	VACUUM database after migration
This commit is contained in:
		
							parent
							
								
									119050e355
								
							
						
					
					
						commit
						2a7fe85020
					
				@ -72,6 +72,9 @@ async function migrate() {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    log.info("VACUUMing database, this might take a while ...");
 | 
				
			||||||
 | 
					    sql.execute("VACUUM");
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function executeMigration(mig) {
 | 
					function executeMigration(mig) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user