[db] fix damage suffered during last merge