Is there a way to edit the database so move field is cleared? I moved some of my forums initial posts a long time ago and dont need the moved arrow or the 'moved from xyz' against them now.
this post was submitted on 28 Jan 2019
0 points (NaN% liked)
General Discussion
0 readers
2 users here now
A place to talk about whatever you want
This is a forum category containing topical discussion. You can start new discussions by mentioning this category.
founded 6 months ago
@eeeee the previous cid is stored in the topic hash itself. Just removing that property should work.
Great, can you explain best way to access topic hash and remove it please?
Topic hash is topic:
plus the topic id.
e.g. the database entry for this one is: topic:13608
.
Which database are you using?
So the number in the url is the topic id, for example for this topic its /topic/13608
, to remove the moved arrow for this topic you would run the below in mongodb.
db.objects.updateOne({_key: "topic:13608"}, {$unset: {"fromCid": ""}});