Fix databaseAdapter for customer