mirror of
https://github.com/friendica/friendica
synced 2025-09-05 09:08:32 +02:00
New table for relations between global contacts - will replace glink in the future
This commit is contained in:
parent
10d866bad9
commit
bd77556b49
3 changed files with 39 additions and 3 deletions
|
@ -51,7 +51,7 @@
|
|||
use Friendica\Database\DBA;
|
||||
|
||||
if (!defined('DB_UPDATE_VERSION')) {
|
||||
define('DB_UPDATE_VERSION', 1335);
|
||||
define('DB_UPDATE_VERSION', 1336);
|
||||
}
|
||||
|
||||
return [
|
||||
|
@ -490,6 +490,17 @@ return [
|
|||
"updated" => ["updated"],
|
||||
]
|
||||
],
|
||||
"gfollower" => [
|
||||
"comment" => "Followers of global contacts",
|
||||
"fields" => [
|
||||
"gcid" => ["type" => "int unsigned", "not null" => "1", "default" => "0", "primary" => "1", "relation" => ["gcontact" => "id"], "comment" => "global contact"],
|
||||
"follower-gcid" => ["type" => "int unsigned", "not null" => "1", "default" => "0", "primary" => "1", "relation" => ["gcontact" => "id"], "comment" => "global contact of the follower"],
|
||||
],
|
||||
"indexes" => [
|
||||
"PRIMARY" => ["gcid", "follower-gcid"],
|
||||
"follower-gcid" => ["follower-gcid"],
|
||||
]
|
||||
],
|
||||
"glink" => [
|
||||
"comment" => "'friends of friends' linkages derived from poco",
|
||||
"fields" => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue