Fix incorrect db schema version in db migration script
This commit is contained in:
		
							parent
							
								
									2a2151890d
								
							
						
					
					
						commit
						9117e620b9
					
				@ -637,7 +637,7 @@ class DatabaseMigration {
 | 
			
		||||
      queries.push(`INSERT INTO state(name, number, string) VALUES ('last_weekly_hashrates_indexing', 0, NULL)`);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (version < 55) {
 | 
			
		||||
    if (version < 58) {
 | 
			
		||||
      queries.push(`DELETE FROM state WHERE name = 'last_hashrates_indexing'`);
 | 
			
		||||
      queries.push(`DELETE FROM state WHERE name = 'last_weekly_hashrates_indexing'`);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user