Add a migration-destroy-id-map command

See #844