]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_inbox-status.md
Revert "Rename contact table column to ffi_keyword_denylist"
[friendica.git] / doc / database / db_inbox-status.md
index fb6a40850679df5ca9b29630ba07b2bdca8541cb..ccb28e9bb261bd7a1369c2efaa53cc2247ef2a4c 100644 (file)
@@ -3,9 +3,14 @@ Table inbox-status
 
 Status of ActivityPub inboxes
 
+Fields
+------
+
 | Field    | Description                          | Type           | Null | Key | Default             | Extra |
 | -------- | ------------------------------------ | -------------- | ---- | --- | ------------------- | ----- |
-| url      | URL of the inbox                     | varbinary(255) | NO   | PRI | NULL                |       |
+| url      | URL of the inbox                     | varbinary(383) | NO   | PRI | NULL                |       |
+| uri-id   | Item-uri id of inbox url             | int unsigned   | YES  |     | NULL                |       |
+| gsid     | ID of the related server             | int unsigned   | YES  |     | NULL                |       |
 | created  | Creation date of this entry          | datetime       | NO   |     | 0001-01-01 00:00:00 |       |
 | success  | Date of the last successful delivery | datetime       | NO   |     | 0001-01-01 00:00:00 |       |
 | failure  | Date of the last failed delivery     | datetime       | NO   |     | 0001-01-01 00:00:00 |       |
@@ -13,4 +18,21 @@ Status of ActivityPub inboxes
 | archive  | Is the inbox archived?               | boolean        | NO   |     | 0                   |       |
 | shared   | Is it a shared inbox?                | boolean        | NO   |     | 0                   |       |
 
+Indexes
+------------
+
+| Name    | Fields |
+| ------- | ------ |
+| PRIMARY | url    |
+| uri-id  | uri-id |
+| gsid    | gsid   |
+
+Foreign Keys
+------------
+
+| Field | Target Table | Target Field |
+|-------|--------------|--------------|
+| uri-id | [item-uri](help/database/db_item-uri) | id |
+| gsid | [gserver](help/database/db_gserver) | id |
+
 Return to [database documentation](help/database)