Added adapter to database