2021-06-13 20:33:50 +00:00
|
|
|
Table user-contact
|
|
|
|
===========
|
2021-06-14 06:10:11 +00:00
|
|
|
|
2021-06-13 20:33:50 +00:00
|
|
|
User specific public contact data
|
|
|
|
|
2021-06-14 08:53:37 +00:00
|
|
|
Fields
|
|
|
|
------
|
|
|
|
|
2021-09-10 20:53:10 +00:00
|
|
|
| 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 | |
|
2021-11-10 12:05:07 +00:00
|
|
|
| hidden | This contact is hidden from the others | boolean | YES | | NULL | |
|
2022-04-05 19:14:29 +00:00
|
|
|
| is-blocked | User is blocked by this contact | boolean | YES | | NULL | |
|
2021-09-12 20:50:03 +00:00
|
|
|
| pending | | boolean | YES | | NULL | |
|
2021-09-10 20:53:10 +00:00
|
|
|
| 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 | |
|
2021-09-12 20:50:03 +00:00
|
|
|
| remote_self | | boolean | YES | | NULL | |
|
2021-09-10 20:53:10 +00:00
|
|
|
| fetch_further_information | | tinyint unsigned | YES | | NULL | |
|
|
|
|
| ffi_keyword_denylist | | text | YES | | NULL | |
|
2021-09-12 20:50:03 +00:00
|
|
|
| subhub | | boolean | YES | | NULL | |
|
2022-09-04 07:54:01 +00:00
|
|
|
| hub-verify | | varbinary(383) | YES | | NULL | |
|
2021-09-12 20:50:03 +00:00
|
|
|
| protocol | Protocol of the contact | char(4) | YES | | NULL | |
|
2021-09-13 14:20:20 +00:00
|
|
|
| rating | Automatically detected feed poll frequency | tinyint | YES | | NULL | |
|
|
|
|
| priority | Feed poll priority | tinyint unsigned | YES | | NULL | |
|
2021-06-13 20:33:50 +00:00
|
|
|
|
2021-06-14 08:53:37 +00:00
|
|
|
Indexes
|
|
|
|
------------
|
|
|
|
|
2021-09-10 13:05:16 +00:00
|
|
|
| Name | Fields |
|
|
|
|
| ---------- | ------------------- |
|
|
|
|
| PRIMARY | uid, cid |
|
|
|
|
| cid | cid |
|
|
|
|
| uri-id_uid | UNIQUE, uri-id, uid |
|
2021-06-14 08:53:37 +00:00
|
|
|
|
|
|
|
Foreign Keys
|
|
|
|
------------
|
|
|
|
|
|
|
|
| Field | Target Table | Target Field |
|
|
|
|
|-------|--------------|--------------|
|
|
|
|
| cid | [contact](help/database/db_contact) | id |
|
|
|
|
| uid | [user](help/database/db_user) | uid |
|
2021-09-10 13:05:16 +00:00
|
|
|
| uri-id | [item-uri](help/database/db_item-uri) | id |
|
2021-06-14 08:53:37 +00:00
|
|
|
|
2021-06-13 20:33:50 +00:00
|
|
|
Return to [database documentation](help/database)
|