Add adapter to db_api