Updated DBAdapter

Updated DBAdapter with methods: getAllPotencys and getAllSizes.