2021-06-13 20:33:50 +00:00
|
|
|
Table apcontact
|
|
|
|
===========
|
2021-06-14 06:10:11 +00:00
|
|
|
|
2021-06-13 20:33:50 +00:00
|
|
|
ActivityPub compatible contacts - used in the ActivityPub implementation
|
|
|
|
|
2021-06-14 08:53:37 +00:00
|
|
|
Fields
|
|
|
|
------
|
|
|
|
|
2021-06-14 06:10:11 +00:00
|
|
|
| Field | Description | Type | Null | Key | Default | Extra |
|
|
|
|
| ---------------- | ---------------------------- | -------------- | ---- | --- | ------------------- | ----- |
|
|
|
|
| url | URL of the contact | varbinary(255) | NO | PRI | NULL | |
|
|
|
|
| uuid | | varchar(255) | YES | | NULL | |
|
|
|
|
| type | | varchar(20) | NO | | NULL | |
|
|
|
|
| following | | varchar(255) | YES | | NULL | |
|
|
|
|
| followers | | varchar(255) | YES | | NULL | |
|
|
|
|
| inbox | | varchar(255) | NO | | NULL | |
|
|
|
|
| outbox | | varchar(255) | YES | | NULL | |
|
|
|
|
| sharedinbox | | varchar(255) | YES | | NULL | |
|
|
|
|
| manually-approve | | boolean | YES | | NULL | |
|
|
|
|
| nick | | varchar(255) | NO | | | |
|
|
|
|
| name | | varchar(255) | YES | | NULL | |
|
|
|
|
| about | | text | YES | | NULL | |
|
|
|
|
| photo | | varchar(255) | YES | | NULL | |
|
2021-06-17 11:23:32 +00:00
|
|
|
| header | Header picture | varchar(255) | YES | | NULL | |
|
2021-06-14 06:10:11 +00:00
|
|
|
| addr | | varchar(255) | YES | | NULL | |
|
|
|
|
| alias | | varchar(255) | YES | | NULL | |
|
|
|
|
| pubkey | | text | YES | | NULL | |
|
|
|
|
| subscribe | | varchar(255) | YES | | NULL | |
|
|
|
|
| baseurl | baseurl of the ap contact | varchar(255) | YES | | NULL | |
|
|
|
|
| gsid | Global Server ID | int unsigned | YES | | NULL | |
|
2021-06-14 12:38:42 +00:00
|
|
|
| generator | Name of the contact's system | varchar(255) | YES | | NULL | |
|
2021-06-14 06:10:11 +00:00
|
|
|
| following_count | Number of following contacts | int unsigned | YES | | 0 | |
|
|
|
|
| followers_count | Number of followers | int unsigned | YES | | 0 | |
|
|
|
|
| statuses_count | Number of posts | int unsigned | YES | | 0 | |
|
|
|
|
| updated | | datetime | NO | | 0001-01-01 00:00:00 | |
|
2021-06-13 20:33:50 +00:00
|
|
|
|
2021-06-14 08:53:37 +00:00
|
|
|
Indexes
|
|
|
|
------------
|
|
|
|
|
2021-06-14 12:15:10 +00:00
|
|
|
| Name | Fields |
|
|
|
|
| ----------- | ---------------- |
|
|
|
|
| PRIMARY | url |
|
|
|
|
| addr | addr(32) |
|
|
|
|
| alias | alias(190) |
|
|
|
|
| followers | followers(190) |
|
|
|
|
| baseurl | baseurl(190) |
|
2021-06-14 08:53:37 +00:00
|
|
|
| sharedinbox | sharedinbox(190) |
|
2021-06-14 12:15:10 +00:00
|
|
|
| gsid | gsid |
|
2021-06-14 08:53:37 +00:00
|
|
|
|
|
|
|
Foreign Keys
|
|
|
|
------------
|
|
|
|
|
|
|
|
| Field | Target Table | Target Field |
|
|
|
|
|-------|--------------|--------------|
|
|
|
|
| gsid | [gserver](help/database/db_gserver) | id |
|
|
|
|
|
2021-06-13 20:33:50 +00:00
|
|
|
Return to [database documentation](help/database)
|