]> git.mxchange.org Git - friendica.git/blob - doc/database/db_conv.md
Merge remote-tracking branch 'upstream/2021.06-rc' into issue-10386
[friendica.git] / doc / database / db_conv.md
1 Table conv
2 ===========
3
4 private messages
5
6 Fields
7 ------
8
9 | Field   | Description                               | Type               | Null | Key | Default             | Extra          |
10 | ------- | ----------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |
11 | id      | sequential ID                             | int unsigned       | NO   | PRI | NULL                | auto_increment |
12 | guid    | A unique identifier for this conversation | varchar(255)       | NO   |     |                     |                |
13 | recips  | sender_handle;recipient_handle            | text               | YES  |     | NULL                |                |
14 | uid     | Owner User id                             | mediumint unsigned | NO   |     | 0                   |                |
15 | creator | handle of creator                         | varchar(255)       | NO   |     |                     |                |
16 | created | creation timestamp                        | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
17 | updated | edited timestamp                          | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
18 | subject | subject of initial message                | text               | YES  |     | NULL                |                |
19
20 Indexes
21 ------------
22
23 | Name    | Fields |
24 | ------- | ------ |
25 | PRIMARY | id     |
26 | uid     | uid    |
27
28 Foreign Keys
29 ------------
30
31 | Field | Target Table | Target Field |
32 |-------|--------------|--------------|
33 | uid | [user](help/database/db_user) | uid |
34
35 Return to [database documentation](help/database)