This is more a thought exercise than as a recommendation for feedback (I don't think we'll ever need to run this in production, so it's not _that_ big of a deal): if any line below this raises an error, it is no longer possible to migrate the platform data because we've just deleted it all. What would have to change so that there is no such risk?