Only run migration 57 if bitcoin
This commit is contained in:
		
							parent
							
								
									d673365a0e
								
							
						
					
					
						commit
						9c5a9f2eba
					
				@ -501,7 +501,7 @@ class DatabaseMigration {
 | 
			
		||||
      await this.updateToSchemaVersion(56);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (databaseSchemaVersion < 57) {
 | 
			
		||||
    if (databaseSchemaVersion < 57 && isBitcoin === true) {
 | 
			
		||||
      await this.$executeQuery(`ALTER TABLE nodes MODIFY updated_at datetime NULL`);
 | 
			
		||||
      await this.updateToSchemaVersion(57);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user