mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 13:54:25 +02:00
Handle redirected servers in server detection.
This commit is contained in:
parent
abc38bec75
commit
0025467500
10 changed files with 56 additions and 15 deletions
|
@ -44,7 +44,7 @@ use Friendica\Database\DBA;
|
|||
|
||||
// This file is required several times during the test in DbaDefinition which justifies this condition
|
||||
if (!defined('DB_UPDATE_VERSION')) {
|
||||
define('DB_UPDATE_VERSION', 1577);
|
||||
define('DB_UPDATE_VERSION', 1578);
|
||||
}
|
||||
|
||||
return [
|
||||
|
@ -85,6 +85,7 @@ return [
|
|||
"blocked" => ["type" => "boolean", "comment" => "Server is blocked"],
|
||||
"failed" => ["type" => "boolean", "comment" => "Connection failed"],
|
||||
"next_contact" => ["type" => "datetime", "default" => DBA::NULL_DATETIME, "comment" => "Next connection request"],
|
||||
"redirect-gsid" => ["type" => "int unsigned", "foreign" => ["gserver" => "id"], "comment" => "Target Gserver id in case of a redirect"],
|
||||
],
|
||||
"indexes" => [
|
||||
"PRIMARY" => ["id"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue