]> 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 53fa009e2b2605e37b4b7a18c6c228c4dbf1d79d..ccb28e9bb261bd7a1369c2efaa53cc2247ef2a4c 100644 (file)
@@ -1,15 +1,38 @@
 Table inbox-status
 ===========
+
 Status of ActivityPub inboxes
 
-| Field    | Description                          | Type           | Null | Key | Default             | Extra |    
-| -------- | ------------------------------------ | -------------- | ---- | --- | ------------------- | ----- |    
-| url      | URL of the inbox                     | varbinary(255) | NO   | PRI | 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 |       |    
-| previous | Previous delivery date               | datetime       | NO   |     | 0001-01-01 00:00:00 |       |    
-| archive  | Is the inbox archived?               | boolean        | NO   |     | 0                   |       |    
-| shared   | Is it a shared inbox?                | boolean        | NO   |     | 0                   |       |    
+Fields
+------
+
+| Field    | Description                          | Type           | Null | Key | Default             | Extra |
+| -------- | ------------------------------------ | -------------- | ---- | --- | ------------------- | ----- |
+| 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 |       |
+| previous | Previous delivery date               | datetime       | NO   |     | 0001-01-01 00:00:00 |       |
+| 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)