]> git.mxchange.org Git - friendica.git/blob - doc/database/db_mail.md
43c9baf33c7f20f40b61a19cd7ae969b71645e60
[friendica.git] / doc / database / db_mail.md
1 Table mail
2 ===========
3 private messages
4
5 | Field | Description | Type | Null | Key | Default | Extra |
6 | ----- | ----------- | ---- | ---- | --- | ------- | ----- |
7 | id | sequential ID | int unsigned | YES | PRI |  | auto_increment |    
8 | uid | Owner User id | mediumint unsigned | YES |  | 0 |  |    
9 | guid | A unique identifier for this private message | varchar(255) | YES |  |  |  |    
10 | from-name | name of the sender | varchar(255) | YES |  |  |  |    
11 | from-photo | contact photo link of the sender | varchar(255) | YES |  |  |  |    
12 | from-url | profile linke of the sender | varchar(255) | YES |  |  |  |    
13 | contact-id | contact.id | varchar(255) | NO |  |  |  |    
14 | author-id | Link to the contact table with uid=0 of the author of the mail | int unsigned | NO |  |  |  |    
15 | convid | conv.id | int unsigned | NO |  |  |  |    
16 | title |  | varchar(255) | YES |  |  |  |    
17 | body |  | mediumtext | NO |  |  |  |    
18 | seen | if message visited it is 1 | boolean | YES |  | 0 |  |    
19 | reply |  | boolean | YES |  | 0 |  |    
20 | replied |  | boolean | YES |  | 0 |  |    
21 | unknown | if sender not in the contact table this is 1 | boolean | YES |  | 0 |  |    
22 | uri |  | varchar(255) | YES |  |  |  |    
23 | uri-id | Item-uri id of the related mail | int unsigned | NO |  |  |  |    
24 | parent-uri |  | varchar(255) | YES |  |  |  |    
25 | parent-uri-id | Item-uri id of the parent of the related mail | int unsigned | NO |  |  |  |    
26 | thr-parent |  | varchar(255) | NO |  |  |  |    
27 | thr-parent-id | Id of the item-uri table that contains the thread parent uri | int unsigned | NO |  |  |  |    
28 | created | creation time of the private message | datetime | YES |  | 0001-01-01 00:00:00 |  |    
29
30 Return to [database documentation](help/database)