The data got corrupted because you didn't have constraints. It means that you have dangling references to non-existing users and devices that you already deleted. That's what's causing the original issue. Obviously you can keep the old version if you don't ever plan to upgrade.
The data got corrupted because you didn't have constraints. It means that you have dangling references to non-existing users and devices that you already deleted. That's what's causing the original issue. Obviously you can keep the old version if you don't ever plan to upgrade.