2015-12-28 01:50:25 +00:00
|
|
|
Table fcontact
|
2021-06-13 20:33:50 +00:00
|
|
|
===========
|
2021-06-14 06:10:11 +00:00
|
|
|
|
2021-06-13 20:33:50 +00:00
|
|
|
Diaspora compatible contacts - used in the Diaspora implementation
|
2015-12-28 01:50:25 +00:00
|
|
|
|
2021-06-14 08:53:37 +00:00
|
|
|
Fields
|
|
|
|
------
|
|
|
|
|
2021-07-09 07:09:33 +00:00
|
|
|
| Field | Description | Type | Null | Key | Default | Extra |
|
|
|
|
| -------- | ------------------------------------------------------------- | ---------------- | ---- | --- | ------------------- | -------------- |
|
|
|
|
| id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment |
|
|
|
|
| guid | unique id | varchar(255) | NO | | | |
|
|
|
|
| url | | varchar(255) | NO | | | |
|
|
|
|
| uri-id | Id of the item-uri table entry that contains the fcontact url | int unsigned | YES | | NULL | |
|
|
|
|
| name | | varchar(255) | NO | | | |
|
|
|
|
| photo | | varchar(255) | NO | | | |
|
|
|
|
| request | | varchar(255) | NO | | | |
|
|
|
|
| nick | | varchar(255) | NO | | | |
|
|
|
|
| addr | | varchar(255) | NO | | | |
|
|
|
|
| batch | | varchar(255) | NO | | | |
|
|
|
|
| notify | | varchar(255) | NO | | | |
|
|
|
|
| poll | | varchar(255) | NO | | | |
|
|
|
|
| confirm | | varchar(255) | NO | | | |
|
|
|
|
| priority | | tinyint unsigned | NO | | 0 | |
|
|
|
|
| network | | char(4) | NO | | | |
|
|
|
|
| alias | | varchar(255) | NO | | | |
|
|
|
|
| pubkey | | text | YES | | NULL | |
|
|
|
|
| updated | | datetime | NO | | 0001-01-01 00:00:00 | |
|
2015-12-28 01:50:25 +00:00
|
|
|
|
2021-06-14 08:53:37 +00:00
|
|
|
Indexes
|
|
|
|
------------
|
|
|
|
|
2021-06-14 12:15:10 +00:00
|
|
|
| Name | Fields |
|
|
|
|
| ------- | ---------------- |
|
|
|
|
| PRIMARY | id |
|
|
|
|
| addr | addr(32) |
|
|
|
|
| url | UNIQUE, url(190) |
|
2021-07-09 07:09:33 +00:00
|
|
|
| uri-id | UNIQUE, uri-id |
|
2021-06-14 08:53:37 +00:00
|
|
|
|
2021-07-09 07:09:33 +00:00
|
|
|
Foreign Keys
|
|
|
|
------------
|
|
|
|
|
|
|
|
| Field | Target Table | Target Field |
|
|
|
|
|-------|--------------|--------------|
|
|
|
|
| uri-id | [item-uri](help/database/db_item-uri) | id |
|
2021-06-14 08:53:37 +00:00
|
|
|
|
2015-12-28 01:50:25 +00:00
|
|
|
Return to [database documentation](help/database)
|