2015-12-27 20:50:25 -05:00
|
|
|
Table fcontact
|
2021-06-13 16:33:50 -04:00
|
|
|
===========
|
2021-06-14 02:10:11 -04:00
|
|
|
|
2021-06-13 16:33:50 -04:00
|
|
|
Diaspora compatible contacts - used in the Diaspora implementation
|
2015-12-27 20:50:25 -05:00
|
|
|
|
2021-06-14 04:53:37 -04:00
|
|
|
Fields
|
|
|
|
------
|
|
|
|
|
2021-12-30 17:11:52 -05:00
|
|
|
| Field | Description | Type | Null | Key | Default | Extra |
|
|
|
|
| ----------------- | ------------------------------------------------------------- | ---------------- | ---- | --- | ------------------- | -------------- |
|
|
|
|
| id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment |
|
2022-09-04 03:54:01 -04:00
|
|
|
| guid | unique id | varbinary(255) | NO | | | |
|
|
|
|
| url | | varbinary(383) | NO | | | |
|
2021-12-30 17:11:52 -05:00
|
|
|
| uri-id | Id of the item-uri table entry that contains the fcontact url | int unsigned | YES | | NULL | |
|
|
|
|
| name | | varchar(255) | NO | | | |
|
2022-09-04 03:54:01 -04:00
|
|
|
| photo | | varbinary(383) | NO | | | |
|
|
|
|
| request | | varbinary(383) | NO | | | |
|
2021-12-30 17:11:52 -05:00
|
|
|
| nick | | varchar(255) | NO | | | |
|
|
|
|
| addr | | varchar(255) | NO | | | |
|
2022-09-04 03:54:01 -04:00
|
|
|
| batch | | varbinary(383) | NO | | | |
|
|
|
|
| notify | | varbinary(383) | NO | | | |
|
|
|
|
| poll | | varbinary(383) | NO | | | |
|
|
|
|
| confirm | | varbinary(383) | NO | | | |
|
2021-12-30 17:11:52 -05:00
|
|
|
| priority | | tinyint unsigned | NO | | 0 | |
|
|
|
|
| network | | char(4) | NO | | | |
|
2022-09-04 03:54:01 -04:00
|
|
|
| alias | | varbinary(383) | NO | | | |
|
2021-12-30 17:11:52 -05:00
|
|
|
| pubkey | | text | YES | | NULL | |
|
2022-09-18 09:40:44 -04:00
|
|
|
| created | | datetime | NO | | 0001-01-01 00:00:00 | |
|
2021-12-30 17:11:52 -05:00
|
|
|
| updated | | datetime | NO | | 0001-01-01 00:00:00 | |
|
|
|
|
| interacting_count | Number of contacts this contact interactes with | int unsigned | YES | | 0 | |
|
|
|
|
| interacted_count | Number of contacts that interacted with this contact | int unsigned | YES | | 0 | |
|
|
|
|
| post_count | Number of posts and comments | int unsigned | YES | | 0 | |
|
2015-12-27 20:50:25 -05:00
|
|
|
|
2021-06-14 04:53:37 -04:00
|
|
|
Indexes
|
|
|
|
------------
|
|
|
|
|
2021-06-14 08:15:10 -04:00
|
|
|
| Name | Fields |
|
|
|
|
| ------- | ---------------- |
|
|
|
|
| PRIMARY | id |
|
|
|
|
| addr | addr(32) |
|
|
|
|
| url | UNIQUE, url(190) |
|
2021-07-09 03:09:33 -04:00
|
|
|
| uri-id | UNIQUE, uri-id |
|
2021-06-14 04:53:37 -04:00
|
|
|
|
2021-07-09 03:09:33 -04:00
|
|
|
Foreign Keys
|
|
|
|
------------
|
|
|
|
|
|
|
|
| Field | Target Table | Target Field |
|
|
|
|
|-------|--------------|--------------|
|
|
|
|
| uri-id | [item-uri](help/database/db_item-uri) | id |
|
2021-06-14 04:53:37 -04:00
|
|
|
|
2015-12-27 20:50:25 -05:00
|
|
|
Return to [database documentation](help/database)
|