9 | Field | Description | Type | Null | Key | Default | Extra |
10 | ------------- | -------------------------------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |
11 | id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment |
12 | uid | Owner User id | mediumint unsigned | NO | | 0 | |
13 | guid | A unique identifier for this private message | varbinary(255) | NO | | | |
14 | from-name | name of the sender | varchar(255) | NO | | | |
15 | from-photo | contact photo link of the sender | varbinary(383) | NO | | | |
16 | from-url | profile linke of the sender | varbinary(383) | NO | | | |
17 | contact-id | contact.id | varbinary(255) | YES | | NULL | |
18 | author-id | Link to the contact table with uid=0 of the author of the mail | int unsigned | YES | | NULL | |
19 | convid | conv.id | int unsigned | YES | | NULL | |
20 | title | | varchar(255) | NO | | | |
21 | body | | mediumtext | YES | | NULL | |
22 | seen | if message visited it is 1 | boolean | NO | | 0 | |
23 | reply | | boolean | NO | | 0 | |
24 | replied | | boolean | NO | | 0 | |
25 | unknown | if sender not in the contact table this is 1 | boolean | NO | | 0 | |
26 | uri | | varbinary(383) | NO | | | |
27 | uri-id | Item-uri id of the related mail | int unsigned | YES | | NULL | |
28 | parent-uri | | varbinary(383) | NO | | | |
29 | parent-uri-id | Item-uri id of the parent of the related mail | int unsigned | YES | | NULL | |
30 | thr-parent | | varbinary(383) | YES | | NULL | |
31 | thr-parent-id | Id of the item-uri table that contains the thread parent uri | int unsigned | YES | | NULL | |
32 | created | creation time of the private message | datetime | NO | | 0001-01-01 00:00:00 | |
38 | ------------- | -------------- |
40 | uid_seen | uid, seen |
43 | parent-uri | parent-uri(64) |
44 | contactid | contact-id(32) |
45 | author-id | author-id |
47 | parent-uri-id | parent-uri-id |
48 | thr-parent-id | thr-parent-id |
53 | Field | Target Table | Target Field |
54 |-------|--------------|--------------|
55 | uid | [user](help/database/db_user) | uid |
56 | author-id | [contact](help/database/db_contact) | id |
57 | uri-id | [item-uri](help/database/db_item-uri) | id |
58 | parent-uri-id | [item-uri](help/database/db_item-uri) | id |
59 | thr-parent-id | [item-uri](help/database/db_item-uri) | id |
61 Return to [database documentation](help/database)