@baris Thanks, now that it's a builtin function, it's even better.
How about notifications that refers to the deleted topic, is these not required to be deleted?
@baris Thanks, now that it's a builtin function, it's even better.
How about notifications that refers to the deleted topic, is these not required to be deleted?
I just want a quick solution.
If you look at the code, I already use the db methods, but the db doesn't provide method to iterate the keys so I have to call redis client directly.
Hi,
Since nodebb does not remove post from the database (only marking it as deleted), I have created this script to remove the post
from the database (redis only).
Purge post from nodebb redis db. GitHub Gist: instantly share code, notes, and snippets.
Gist (gist.github.com)
Put it in the same location as config.json, modify as needed, and run with:
$ node remove_post.js.