]> git.mxchange.org Git - friendica.git/blob - doc/database/db_gserver.md
220a8a17c81186e59071f8fcd0c3f978f16087c3
[friendica.git] / doc / database / db_gserver.md
1 Table gserver
2 ===========
3 Global servers
4
5 | Field | Description | Type | Null | Key | Default | Extra |
6 | ----- | ----------- | ---- | ---- | --- | ------- | ----- |
7 | id               | sequential ID                                      | int unsigned     | NO  | PRI | NULL                | auto_increment |    
8 | url              |                                                    | varchar(255)     | NO  |     |                     |                |    
9 | nurl             |                                                    | varchar(255)     | NO  |     |                     |                |    
10 | version          |                                                    | varchar(255)     | NO  |     |                     |                |    
11 | site_name        |                                                    | varchar(255)     | NO  |     |                     |                |    
12 | info             |                                                    | text             | YES |     | NULL                |                |    
13 | register_policy  |                                                    | tinyint          | NO  |     | 0                   |                |    
14 | registered-users | Number of registered users                         | int unsigned     | NO  |     | 0                   |                |    
15 | directory-type   | Type of directory service (Poco, Mastodon)         | tinyint          | YES |     | 0                   |                |    
16 | poco             |                                                    | varchar(255)     | NO  |     |                     |                |    
17 | noscrape         |                                                    | varchar(255)     | NO  |     |                     |                |    
18 | network          |                                                    | char(4)          | NO  |     |                     |                |    
19 | protocol         | The protocol of the server                         | tinyint unsigned | YES |     | NULL                |                |    
20 | platform         |                                                    | varchar(255)     | NO  |     |                     |                |    
21 | relay-subscribe  | Has the server subscribed to the relay system      | boolean          | NO  |     | 0                   |                |    
22 | relay-scope      | The scope of messages that the server wants to get | varchar(10)      | NO  |     |                     |                |    
23 | detection-method | Method that had been used to detect that server    | tinyint unsigned | YES |     | NULL                |                |    
24 | created          |                                                    | datetime         | NO  |     | 0001-01-01 00:00:00 |                |    
25 | last_poco_query  |                                                    | datetime         | YES |     | 0001-01-01 00:00:00 |                |    
26 | last_contact     | Last successful connection request                 | datetime         | YES |     | 0001-01-01 00:00:00 |                |    
27 | last_failure     | Last failed connection request                     | datetime         | YES |     | 0001-01-01 00:00:00 |                |    
28 | failed           | Connection failed                                  | boolean          | YES |     | NULL                |                |    
29 | next_contact     | Next connection request                            | datetime         | YES |     | 0001-01-01 00:00:00 |                |    
30
31 Return to [database documentation](help/database)