Migrating from 2531 to Zzh: do I have to delete my devices database?

I have read the documentation that if I change hardware devices that are different base hardware I need to repair my devices. What I’m curious is since I run in a container do I need to just start with a fresh install of the container and delete my devices database?

Do I need to do an unpairing or sorts?

What happens if all I change is the configuration.yaml file and don’t delete the devices in the database? Does this mess with the migration?