PDB-67 Add migration for converting hash to id for catalogs

Signed-off-by: Ken Barber <ken@bob.sh>