Closed prasadraja07 closed 7 years ago
I just started using this plugin a few days ago and you can't really find the db structure on here. The reason could be because the plugin allows you to customize it depending on your needs.
I for one did the following.
A table with the basic comment data such as, comment Id, parent id, page id, user Id, date created, date modified, comment content.
A table for upvotes that stores, post id, comment id, user id, vote date.
A table for downvotes (I had to implement this myself as downvoting doesn't come with the plugin).
And just joined tables as needed.
Hope those little details help.
Even i also implement same as you explained..... just i would like to compare with my db structure & @Viima ..... to ensure that i am in right path..
Hi guys, sorry for the delayed answer! Here's what our comments API looks like for reference purposes. I'll add it to the documentation too.
Can you share the db structure for the comment plugin....so it wil be clear to implement