[#79384948] Throw an exception if migration is reverted