db: add volume id to doc table