Router category_id update
-
Version:NodeBB v3.7.1
DataBase: MongoDB 7
Theme:Harmony
Tryed: Search "Category" on Doc and Community;Try to find related pluginsLike:
Before:
/category/1/A
/category/2/BThen delete category B and add new one
/category/1/A
/category/2/BAfter:
/category/1/A
/category/3/CI want to:
/category/1/A
/category/2/CQ:
Can I update the category's sequential id's so they are in order, do I have to update the database, or is there any documentation link reference? Thank you! -
@WM-7Ebra There are quite a few internal references that use the cid, so it's not quite that simple to dive into the db and change things (though please don't let me stop you )
If you don't have a lot of content on your forum, it might just be easiest to trash the forum and start over!
Or if cid 2 is still around (not purged), you can delete all of the topics inside it, and move all the topics from cid 3 into cid 2.