]> git.mxchange.org Git - friendica.git/blob - doc/database/db_apcontact.md
Pad the header
[friendica.git] / doc / database / db_apcontact.md
1 Table apcontact
2 ===========
3 ActivityPub compatible contacts - used in the ActivityPub implementation
4
5 | Field            | Description                  | Type           | Null | Key | Default             | Extra |    
6 | ---------------- | ---------------------------- | -------------- | ---- | --- | ------------------- | ----- |    
7 | url              | URL of the contact           | varbinary(255) | NO   | PRI | NULL                |       |    
8 | uuid             |                              | varchar(255)   | YES  |     | NULL                |       |    
9 | type             |                              | varchar(20)    | NO   |     | NULL                |       |    
10 | following        |                              | varchar(255)   | YES  |     | NULL                |       |    
11 | followers        |                              | varchar(255)   | YES  |     | NULL                |       |    
12 | inbox            |                              | varchar(255)   | NO   |     | NULL                |       |    
13 | outbox           |                              | varchar(255)   | YES  |     | NULL                |       |    
14 | sharedinbox      |                              | varchar(255)   | YES  |     | NULL                |       |    
15 | manually-approve |                              | boolean        | YES  |     | NULL                |       |    
16 | nick             |                              | varchar(255)   | NO   |     |                     |       |    
17 | name             |                              | varchar(255)   | YES  |     | NULL                |       |    
18 | about            |                              | text           | YES  |     | NULL                |       |    
19 | photo            |                              | varchar(255)   | YES  |     | NULL                |       |    
20 | addr             |                              | varchar(255)   | YES  |     | NULL                |       |    
21 | alias            |                              | varchar(255)   | YES  |     | NULL                |       |    
22 | pubkey           |                              | text           | YES  |     | NULL                |       |    
23 | subscribe        |                              | varchar(255)   | YES  |     | NULL                |       |    
24 | baseurl          | baseurl of the ap contact    | varchar(255)   | YES  |     | NULL                |       |    
25 | gsid             | Global Server ID             | int unsigned   | YES  |     | NULL                |       |    
26 | generator        | Name of the contact's system | varchar(255)   | YES  |     | NULL                |       |    
27 | following_count  | Number of following contacts | int unsigned   | YES  |     | 0                   |       |    
28 | followers_count  | Number of followers          | int unsigned   | YES  |     | 0                   |       |    
29 | statuses_count   | Number of posts              | int unsigned   | YES  |     | 0                   |       |    
30 | updated          |                              | datetime       | NO   |     | 0001-01-01 00:00:00 |       |    
31
32 Return to [database documentation](help/database)