Browse Source
			
			
			Merge pull request #186 from chakflying/patch-3
			
				Chore: Improve logging during db development
			
			
				pull/189/head
			
			
		 
		
			
				
					
						 Louis Lam
					
					4 years ago
						Louis Lam
					
					4 years ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
2 additions and 
0 deletions
			 
			
		 
		
			
				- 
					
					
					 
					server/database.js
				
				
				
					
						
							
								
									
	
		
			
				
					|  |  | @ -41,6 +41,8 @@ class Database { | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |         if (version === this.latestVersion) { | 
			
		
	
		
			
				
					|  |  |  |             console.info("Database no need to patch"); | 
			
		
	
		
			
				
					|  |  |  |         } else if (version > this.latestVersion) { | 
			
		
	
		
			
				
					|  |  |  |             console.info("Warning: Database version is newer than expected"); | 
			
		
	
		
			
				
					|  |  |  |         } else { | 
			
		
	
		
			
				
					|  |  |  |             console.info("Database patch is needed") | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  | 
 |