Similar to discuz, you can also reply to the reply request. Could you please give me the following idea? How can I design a data table like discuz? Can I reply to the reply?
How to design a data table
Reply content:
Similar to discuz, you can reply to the reply.
How to design a data table
User table stores user information, including the basic information of the author and comments. User ID
The post table stores the basic information of the post, including the ID and Author ID.
The reply table stores the reply content and other basic information. The post ID comments ID and parent ID are classified as infinitus. The floor replies are classified based on the hierarchical relationship of the infinitus category and the comment time.
Hope to be useful to you
The topic table stores the author, title, and other information.
Content table store associated topics and content
Floor table store floor reply content for this topic
Reply table a user replies to the associated floor ID and reply Object ID for a certain floor