db.php now supports the view