Tool to aid tracking of applied patches in a database