]> git.mxchange.org Git - friendica.git/commitdiff
Update db_user-contact.md
authorPhilipp <admin@philipp.info>
Mon, 14 Aug 2023 17:30:29 +0000 (19:30 +0200)
committerPhilipp <admin@philipp.info>
Mon, 14 Aug 2023 17:30:29 +0000 (19:30 +0200)
doc/database/db_user-contact.md

index 71fdc14e406ac467033cd40bc33a82a1a8f1bd2f..ac89aab1de3347e57cf121d116246e789787fab5 100644 (file)
@@ -6,28 +6,28 @@ User specific public contact data
 Fields
 ------
 
-| Field                     | Description                                                  | Type               | Null | Key | Default | Extra |
-| ------------------------- | ------------------------------------------------------------ | ------------------ | ---- | --- | ------- | ----- |
-| cid                       | Contact id of the linked public contact                      | int unsigned       | NO   | PRI | 0       |       |
-| uid                       | User id                                                      | mediumint unsigned | NO   | PRI | 0       |       |
-| uri-id                    | Id of the item-uri table entry that contains the contact url | int unsigned       | YES  |     | NULL    |       |
-| blocked                   | Contact is completely blocked for this user                  | boolean            | YES  |     | NULL    |       |
-| ignored                   | Posts from this contact are ignored                          | boolean            | YES  |     | NULL    |       |
-| collapsed                 | Posts from this contact are collapsed                        | boolean            | YES  |     | NULL    |       |
-| hidden                    | This contact is hidden from the others                       | boolean            | YES  |     | NULL    |       |
-| is-blocked                | User is blocked by this contact                              | boolean            | YES  |     | NULL    |       |
-| pending                   |                                                              | boolean            | YES  |     | NULL    |       |
-| rel                       | The kind of the relation between the user and the contact    | tinyint unsigned   | YES  |     | NULL    |       |
-| info                      |                                                              | mediumtext         | YES  |     | NULL    |       |
-| notify_new_posts          |                                                              | boolean            | YES  |     | NULL    |       |
-| remote_self               |                                                              | boolean            | YES  |     | NULL    |       |
-| fetch_further_information |                                                              | tinyint unsigned   | YES  |     | NULL    |       |
-| ffi_keyword_denylist      |                                                              | text               | YES  |     | NULL    |       |
-| subhub                    |                                                              | boolean            | YES  |     | NULL    |       |
-| hub-verify                |                                                              | varbinary(383)     | YES  |     | NULL    |       |
-| protocol                  | Protocol of the contact                                      | char(4)            | YES  |     | NULL    |       |
-| rating                    | Automatically detected feed poll frequency                   | tinyint            | YES  |     | NULL    |       |
-| priority                  | Feed poll priority                                           | tinyint unsigned   | YES  |     | NULL    |       |
+| Field                     | Description                                                             | Type               | Null | Key | Default | Extra |
+| ------------------------- | ----------------------------------------------------------------------- | ------------------ | ---- | --- | ------- | ----- |
+| cid                       | Contact id of the linked public contact                                 | int unsigned       | NO   | PRI | 0       |       |
+| uid                       | User id                                                                 | mediumint unsigned | NO   | PRI | 0       |       |
+| uri-id                    | Id of the item-uri table entry that contains the contact url            | int unsigned       | YES  |     | NULL    |       |
+| blocked                   | Contact is completely blocked for this user                             | boolean            | YES  |     | NULL    |       |
+| ignored                   | Posts from this contact are ignored                                     | boolean            | YES  |     | NULL    |       |
+| collapsed                 | Posts from this contact are collapsed                                   | boolean            | YES  |     | NULL    |       |
+| hidden                    | This contact is hidden from the others                                  | boolean            | YES  |     | NULL    |       |
+| is-blocked                | User is blocked by this contact                                         | boolean            | YES  |     | NULL    |       |
+| pending                   |                                                                         | boolean            | YES  |     | NULL    |       |
+| rel                       | The kind of the relation between the user and the contact               | tinyint unsigned   | YES  |     | NULL    |       |
+| info                      |                                                                         | mediumtext         | YES  |     | NULL    |       |
+| notify_new_posts          |                                                                         | boolean            | YES  |     | NULL    |       |
+| remote_self               | 0 => No mirroring, 1-2 => Mirror as own post, 3 => Mirror as reshare    | tinyint unsigned   | YES  |     | NULL    |       |
+| fetch_further_information | 0 => None, 1 => Fetch information, 3 => Fetch keywords, 2 => Fetch both | tinyint unsigned   | YES  |     | NULL    |       |
+| ffi_keyword_denylist      |                                                                         | text               | YES  |     | NULL    |       |
+| subhub                    |                                                                         | boolean            | YES  |     | NULL    |       |
+| hub-verify                |                                                                         | varbinary(383)     | YES  |     | NULL    |       |
+| protocol                  | Protocol of the contact                                                 | char(4)            | YES  |     | NULL    |       |
+| rating                    | Automatically detected feed poll frequency                              | tinyint            | YES  |     | NULL    |       |
+| priority                  | Feed poll priority                                                      | tinyint unsigned   | YES  |     | NULL    |       |
 
 Indexes
 ------------