]> git.mxchange.org Git - friendica.git/blob - doc/database/db_post-delivery.md
8b149b57159fed955ca90f50a637e5d6b0dbc0c1
[friendica.git] / doc / database / db_post-delivery.md
1 Table post-delivery
2 ===========
3
4 Delivery data for posts for the batch processing
5
6 Fields
7 ------
8
9 | Field    | Description                                               | Type               | Null | Key | Default             | Extra |
10 | -------- | --------------------------------------------------------- | ------------------ | ---- | --- | ------------------- | ----- |
11 | uri-id   | Id of the item-uri table entry that contains the item uri | int unsigned       | NO   | PRI | NULL                |       |
12 | inbox-id | Item-uri id of inbox url                                  | int unsigned       | NO   | PRI | NULL                |       |
13 | uid      | Delivering user                                           | mediumint unsigned | YES  |     | NULL                |       |
14 | created  |                                                           | datetime           | YES  |     | 0001-01-01 00:00:00 |       |
15 | command  |                                                           | varbinary(32)      | YES  |     | NULL                |       |
16 | failed   | Number of times the delivery has failed                   | tinyint            | YES  |     | 0                   |       |
17
18 Indexes
19 ------------
20
21 | Name             | Fields            |
22 | ---------------- | ----------------- |
23 | PRIMARY          | uri-id, inbox-id  |
24 | inbox-id_created | inbox-id, created |
25 | uid              | uid               |
26
27 Foreign Keys
28 ------------
29
30 | Field | Target Table | Target Field |
31 |-------|--------------|--------------|
32 | uri-id | [item-uri](help/database/db_item-uri) | id |
33 | inbox-id | [item-uri](help/database/db_item-uri) | id |
34 | uid | [user](help/database/db_user) | uid |
35
36 Return to [database documentation](help/database)