friendica_2021.01_tupambae_.../doc/database/db_user-contact.md

34 lines
1.2 KiB
Markdown
Raw Normal View History

Table user-contact
===========
2021-06-14 08:10:11 +02:00
User specific public contact data
2021-06-14 10:53:37 +02:00
Fields
------
2021-06-14 08:10:11 +02: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 | |
| 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-06-14 10:53:37 +02:00
Indexes
------------
2021-06-14 14:15:10 +02:00
| Name | Fields |
| ------- | -------- |
2021-06-14 10:53:37 +02:00
| PRIMARY | uid, cid |
2021-06-14 14:15:10 +02:00
| cid | cid |
2021-06-14 10:53:37 +02:00
Foreign Keys
------------
| Field | Target Table | Target Field |
|-------|--------------|--------------|
| cid | [contact](help/database/db_contact) | id |
| uid | [user](help/database/db_user) | uid |
Return to [database documentation](help/database)