summaryrefslogtreecommitdiff
path: root/docs/mail_server_character.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/mail_server_character.md')
-rw-r--r--docs/mail_server_character.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/mail_server_character.md b/docs/mail_server_character.md
new file mode 100644
index 0000000..eb23311
--- /dev/null
+++ b/docs/mail_server_character.md
@@ -0,0 +1,27 @@
+# mail_server_character
+
+[<-Back-to:Character](database-character.md)
+
+**The \`mail_server_character\` table**
+
+This table keeps entries of which player has recieved a server mail. This prevents the same mail to be sent twice to the same player.
+
+**Structure**
+
+| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
+| ----------- | ---- | ---------- | --- | ---- | ------- | ----- | ------- |
+| [guid][1] | INT | UNSIGNED | PRI | NO | | | |
+| [mailId][2] | INT | UNSIGNED | PRI | NO | | | |
+
+[1]: #guid
+[2]: #mailId
+
+## Description of the fields
+
+### guid
+
+[characters.guid](characters#guid).
+
+### mailId
+
+[mail_server_template.id](mail_server_template#guid).