Revert "Update db.h"

This reverts commit 7ecdc3640387db3e87c39e7392f80820172dfd60.