-
Notifications
You must be signed in to change notification settings - Fork 0
Models Documentation
Camden Fullmer edited this page Sep 10, 2013
·
1 revision
This page is going to lay out all the models that are going to be constructed in the database. The format of the models should be created like the example below.
ex.
####Model Name
- Attribute Name - Attribute Type - Required[Y/N] - Unique[Y/N]
####Admin User
- id - int - Y - Y
- name - String - ? - N
- studyIds - array - N - N
- Other personal information to be determined
####User
- id - int - Y - Y
- name - String - ? - N
- questions/answers - two dimensional array - N - N
- studyIds - array - N - N
- Other personal information to be determined
####Study
- id - int - Y - Y
- name - String - Y - Y
- created - Date - Y - N
####Questions
- id - int - Y - Y
- type - int - Y - N
- text - String - Y - N
####Answers
- id - int - Y - Y
- text - String - Y - N
- question - int - Y - N