Purge/clean/delete deleted topics from database

Continuing the discussion from Introducing permanently delete post functionality:

I have a forum where there was a big cleanup. But when reviewing the database backup, it is still polluted with the old soft-deleted data.

Is there some kind of rake command that can be run to purge deleted items from the database?

1 Like

Please Discourse team, make this easier.

The reason I’m active right now is because I am cleaning up my site from thousands upong thousands of topics and posts created by Google auth’ed.

I don’t want the content to be soft-deleted, I want to bulk-permanently delete all the thousands of topics and posts.

I also don’t want to write code or CLI commands.