]> git.mxchange.org Git - friendica.git/blob - doc/database/db_post-delivery.md
Changes after code review
[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
17 Indexes
18 ------------
19
20 | Name             | Fields            |
21 | ---------------- | ----------------- |
22 | PRIMARY          | uri-id, inbox-id  |
23 | inbox-id_created | inbox-id, created |
24 | uid              | uid               |
25
26 Foreign Keys
27 ------------
28
29 | Field | Target Table | Target Field |
30 |-------|--------------|--------------|
31 | uri-id | [item-uri](help/database/db_item-uri) | id |
32 | inbox-id | [item-uri](help/database/db_item-uri) | id |
33 | uid | [user](help/database/db_user) | uid |
34
35 Return to [database documentation](help/database)