Forem Creators and Builders

Mihail Podivilov
Mihail Podivilov

Posted on

Removing users and it's articles

Hi! After setting up Forem for my community I have a lot of garbage articles and pseudo-users that appeared after rails:dbsetup. How can I remove them?

Discussion (1)

Collapse
citizen428 profile image
Michael Kohl • Edited

Apart from rails db:reset you can go to /admin/users and delete the users there, which will also remove their associated content.

Alternatively, you can do it from Rails console in a single command:

User.destroy_all
Enter fullscreen mode Exit fullscreen mode