简体   繁体   中英

Efficient way for storing the feedbacks of a website in database

I am designing the database to store the feedback given by the users. I am using mariaDB. I am just wondering if my database design is efficient. Also, Can I improve it?

We can have the following tables to store the feedback data:-

  • Feedback - Table to store feature id and option no with feedback ID as Primary key.

  • Features - Feature corresponding to feature ID.

  • Options - Options corresponding to option no.

  • User details- Browser details corresponding to the feedback and user ID.

  • Users- User info corresponding to User ID.

ER图

I have taken reference from this question.

Why use a table for store browser details, you can store it in the feedback table ? I think it's more relevant

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM