Patch db