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
12
database.sql
12
database.sql
|
|
@ -1,6 +1,6 @@
|
|||
-- ------------------------------------------
|
||||
-- Friendica 2020.03-dev (Dalmatian Bellflower)
|
||||
-- DB_UPDATE_VERSION 1335
|
||||
-- DB_UPDATE_VERSION 1336
|
||||
-- ------------------------------------------
|
||||
|
||||
|
||||
|
|
@ -419,6 +419,16 @@ CREATE TABLE IF NOT EXISTS `gcontact` (
|
|||
INDEX `updated` (`updated`)
|
||||
) DEFAULT COLLATE utf8mb4_general_ci COMMENT='global contacts';
|
||||
|
||||
--
|
||||
-- TABLE gfollower
|
||||
--
|
||||
CREATE TABLE IF NOT EXISTS `gfollower` (
|
||||
`gcid` int unsigned NOT NULL DEFAULT 0 COMMENT 'global contact',
|
||||
`follower-gcid` int unsigned NOT NULL DEFAULT 0 COMMENT 'global contact of the follower',
|
||||
PRIMARY KEY(`gcid`,`follower-gcid`),
|
||||
INDEX `follower-gcid` (`follower-gcid`)
|
||||
) DEFAULT COLLATE utf8mb4_general_ci COMMENT='Followers of global contacts';
|
||||
|
||||
--
|
||||
-- TABLE glink
|
||||
--
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue