2015-12-28 01:50:25 +00:00
|
|
|
Table gserver
|
2021-06-13 20:33:50 +00:00
|
|
|
===========
|
2021-06-14 06:10:11 +00:00
|
|
|
|
2021-06-13 20:33:50 +00:00
|
|
|
Global servers
|
2015-12-28 01:50:25 +00:00
|
|
|
|
2021-06-14 08:53:37 +00:00
|
|
|
Fields
|
|
|
|
------
|
|
|
|
|
2022-02-06 20:03:19 +00:00
|
|
|
| Field | Description | Type | Null | Key | Default | Extra |
|
|
|
|
| --------------------- | -------------------------------------------------- | ---------------- | ---- | --- | ------------------- | -------------- |
|
|
|
|
| id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment |
|
2022-09-04 07:54:01 +00:00
|
|
|
| url | | varbinary(383) | NO | | | |
|
|
|
|
| nurl | | varbinary(383) | NO | | | |
|
2022-02-06 20:03:19 +00:00
|
|
|
| version | | varchar(255) | NO | | | |
|
|
|
|
| site_name | | varchar(255) | NO | | | |
|
|
|
|
| info | | text | YES | | NULL | |
|
|
|
|
| register_policy | | tinyint | NO | | 0 | |
|
|
|
|
| registered-users | Number of registered users | int unsigned | NO | | 0 | |
|
|
|
|
| active-week-users | Number of active users in the last week | int unsigned | YES | | NULL | |
|
|
|
|
| active-month-users | Number of active users in the last month | int unsigned | YES | | NULL | |
|
|
|
|
| active-halfyear-users | Number of active users in the last six month | int unsigned | YES | | NULL | |
|
|
|
|
| local-posts | Number of local posts | int unsigned | YES | | NULL | |
|
|
|
|
| local-comments | Number of local comments | int unsigned | YES | | NULL | |
|
|
|
|
| directory-type | Type of directory service (Poco, Mastodon) | tinyint | YES | | 0 | |
|
2022-09-04 07:54:01 +00:00
|
|
|
| poco | | varbinary(383) | NO | | | |
|
|
|
|
| noscrape | | varbinary(383) | NO | | | |
|
2022-02-06 20:03:19 +00:00
|
|
|
| network | | char(4) | NO | | | |
|
|
|
|
| protocol | The protocol of the server | tinyint unsigned | YES | | NULL | |
|
|
|
|
| platform | | varchar(255) | NO | | | |
|
|
|
|
| relay-subscribe | Has the server subscribed to the relay system | boolean | NO | | 0 | |
|
|
|
|
| relay-scope | The scope of messages that the server wants to get | varchar(10) | NO | | | |
|
|
|
|
| detection-method | Method that had been used to detect that server | tinyint unsigned | YES | | NULL | |
|
|
|
|
| created | | datetime | NO | | 0001-01-01 00:00:00 | |
|
|
|
|
| last_poco_query | | datetime | YES | | 0001-01-01 00:00:00 | |
|
|
|
|
| last_contact | Last successful connection request | datetime | YES | | 0001-01-01 00:00:00 | |
|
|
|
|
| last_failure | Last failed connection request | datetime | YES | | 0001-01-01 00:00:00 | |
|
2023-01-17 17:25:19 +00:00
|
|
|
| blocked | Server is blocked | boolean | YES | | NULL | |
|
2022-02-06 20:03:19 +00:00
|
|
|
| failed | Connection failed | boolean | YES | | NULL | |
|
|
|
|
| next_contact | Next connection request | datetime | YES | | 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 |
|
|
|
|
| nurl | UNIQUE, nurl(190) |
|
|
|
|
| next_contact | next_contact |
|
|
|
|
| network | network |
|
2021-06-14 08:53:37 +00:00
|
|
|
|
|
|
|
|
2015-12-28 01:50:25 +00:00
|
|
|
Return to [database documentation](help/database)
|