Yep, I had originally made this a migration then a conversation came up for another similar clean-up job and the outcome was that making it a command makes it more readily testable + the thing of avoiding Django stuff in migrations (though I would have done it with SQL).