Poll Database Schema

前端 未结 4 1495
我寻月下人不归
我寻月下人不归 2021-02-01 05:15

What is the best database schema for polls? Is one-to-many relationship good for this? I\'m thinking about having two tables:

poll_questions
    int id
    varch         


        
4条回答
  •  没有蜡笔的小新
    2021-02-01 05:26

    I would like to add the status of poll_questions and poll_answers as well, just in case if we need to activate or disable the current poll question during given date and time.

提交回复
热议问题