summaryrefslogtreecommitdiff
path: root/docs/gm_subsurvey.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/gm_subsurvey.md')
-rw-r--r--docs/gm_subsurvey.md43
1 files changed, 36 insertions, 7 deletions
diff --git a/docs/gm_subsurvey.md b/docs/gm_subsurvey.md
index 9bd0c96..0bfec27 100644
--- a/docs/gm_subsurvey.md
+++ b/docs/gm_subsurvey.md
@@ -1,10 +1,39 @@
-[Database Structure](Database-Structure) > [Character-Database](Character-Database) > [gm_subsurvey](gm_subsurvey)
+# gm\_subsurvey
+
+[<-Back-to:Characters](database-characters.md)
+
+## The \`gm\_subsurvey\` table
This table contains the answers to the survey questions. It's linked to `gm_survey`.
-Column | Type | Description
---- | --- | ---
-SurveyId | INT UNSIGNED |
-QuestionId | INT UNSIGNED |
-Answer | INT UNSIGNED |
-AnswerComment | text |
+**Structure**
+
+| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
+| ------------------ | ---- | ---------- | --- | ---- | ------- | -------------- | ------- |
+| [surveyId][1] | INT | UNSIGNED | PRI | NO | | Auto increment | |
+| [questionId][2] | INT | UNSIGNED | PRI | NO | 0 | | |
+| [answer][3] | INT | UNSIGNED | | NO | 0 | | |
+| [answerComment][4] | TEXT | SIGNED | | NO | | | |
+
+[1]: #surveyid
+[2]: #questionid
+[3]: #answer
+[4]: #answercomment
+
+**Description of the fields**
+
+### surveyId
+
+`field-no-description|1`
+
+### questionId
+
+`field-no-description|2`
+
+### answer
+
+`field-no-description|3`
+
+### answerComment
+
+`field-no-description|4` \ No newline at end of file