friendica-github/doc/database/db_post-delivery.md

37 lines
1.7 KiB
Markdown
Raw Normal View History

2022-05-02 05:17:42 +00:00
Table post-delivery
===========
2022-05-05 12:23:44 +00:00
Delivery data for posts for the batch processing
2022-05-02 05:17:42 +00:00
Fields
------
| Field | Description | Type | Null | Key | Default | Extra |
| -------- | --------------------------------------------------------- | ------------------ | ---- | --- | ------------------- | ----- |
| uri-id | Id of the item-uri table entry that contains the item uri | int unsigned | NO | PRI | NULL | |
| inbox-id | Item-uri id of inbox url | int unsigned | NO | PRI | NULL | |
| uid | Delivering user | mediumint unsigned | YES | | NULL | |
| created | | datetime | YES | | 0001-01-01 00:00:00 | |
| command | | varbinary(32) | YES | | NULL | |
2022-05-12 06:54:58 +00:00
| failed | Number of times the delivery has failed | tinyint | YES | | 0 | |
2022-05-02 05:17:42 +00:00
Indexes
------------
| Name | Fields |
| ---------------- | ----------------- |
| PRIMARY | uri-id, inbox-id |
| inbox-id_created | inbox-id, created |
| uid | uid |
Foreign Keys
------------
| Field | Target Table | Target Field |
|-------|--------------|--------------|
| uri-id | [item-uri](help/database/db_item-uri) | id |
| inbox-id | [item-uri](help/database/db_item-uri) | id |
| uid | [user](help/database/db_user) | uid |
Return to [database documentation](help/database)