returnnil,errors.New("found schema name for the second time when looking for migrations")
returnnil,errors.New("found schema name for the second time when looking for migrations")
}
}
foundCurrent=true
foundCurrent=true
db.logger.Infof("found current localstore schema. currentSchema : %s , migrateTo : %s, total migrations : %d",currentSchema,DbSchemaCurrent,len(allSchemeMigrations)-i)
db.logger.Infof("localstore migration: found current localstore schema %s, migrate to %s, total migrations %d",currentSchema,DbSchemaCurrent,len(allSchemeMigrations)-i)
continue// current schema migration should not be executed (already has been when schema was migrated to)
continue// current schema migration should not be executed (already has been when schema was migrated to)