Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question Model #3

Open
Tanner opened this issue Jun 14, 2011 · 0 comments
Open

Question Model #3

Tanner opened this issue Jun 14, 2011 · 0 comments

Comments

@Tanner
Copy link
Owner

Tanner commented Jun 14, 2011

In the database, the Question Model is mad up as follows:

  •  Character Question field
    
    • Basic character string that represents the question
  • Boolean hasRate field
    • Represents whether the question has an integer rating field
  • Boolean hasFreeResponse field
    • Represents whether the question has a free response field
  • Integer rate field
    • Response field storage
  • Character freeResponse field
    • Response field storage

Now I'm not sure if this is the best way (it might not be). It might be better to create two question tables, one that represents a rating question and one that represents a free response question. Maybe not. This still can probably be improved. It kinda feels weak.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant