Delete all the likes

Want to delete all the existing :heart: on your instance? Here is how you can do it.

Access your site

First connect to your Droplet via SSH, and enter the Docker container for your Discourse instances:

cd /var/discourse
./launcher enter app

:warning: WARNING

We strongly recommend you take a full backup before proceeding.

Delete all the likes

rake posts:delete_all_likes

The above command will delete all the likes on your instance.

9 Likes