-
Notifications
You must be signed in to change notification settings - Fork 1
Schema
Benjamin Mosior edited this page Nov 27, 2013
·
11 revisions
| Field Names | Attributes | Type | Description |
|---|---|---|---|
| first_field | PK | text | |
| second_field | FK: table_name.value | int | |
| third_field |
| Field Names | Attributes | Type | Description |
|---|---|---|---|
| title | varchar | Title that describes campaign | |
| html | text | Educational component in HTML format | |
| active | boolean | Active/enforcing campaign status | |
| grace_period | time | Period of time where skip-mercy is granted | |
| start_date | datetime | Campaign start time | |
| stop_date | datetime | Campaign stop time | |
| pass_percent | smallint | Quiz score percentage considered passing | |
| questions_weighted | boolean | Question weight (order) is followed |
| Field Names | Attributes | Type | Description |
|---|---|---|---|
| campaign_ID | FK: campaigns.ID | integer | Campaign associated with question |
| answers_weighted | boolean | Answer weight (order) is followed | |
| weight | integer | Weight of question for ordering purposes | |
| html | text | Question content in HTML format | |
| multiple_answers | boolean | Multiple answers are accepted |
| Field Names | Attributes | Type | Description |
|---|---|---|---|
| question_ID | FK: questions.ID | integer | Question associated with answer |
| weight | integer | Weight of answer for ordering purposes | |
| html | text | Answer content in HTML format | |
| correct | boolean | Answer is correct | |
| explanation | text | Explains why an answer is or isn't correct |