Issue 13909: Filter channels by network (#13924)

This commit is contained in:
Michael Vogel 2024-02-20 07:11:26 +01:00 committed by GitHub
parent d95c9d28a8
commit 71384e6f39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 21 additions and 4 deletions

View file

@ -1,6 +1,6 @@
-- ------------------------------------------
-- Friendica 2024.03-rc (Yellow Archangel)
-- DB_UPDATE_VERSION 1553
-- DB_UPDATE_VERSION 1554
-- ------------------------------------------
@ -1352,6 +1352,7 @@ CREATE TABLE IF NOT EXISTS `post-engagement` (
`searchtext` mediumtext COMMENT 'Simplified text for the full text search',
`size` int unsigned COMMENT 'Body size',
`created` datetime COMMENT '',
`network` char(4) COMMENT '',
`restricted` boolean NOT NULL DEFAULT '0' COMMENT 'If true, this post is either unlisted or not from a federated network',
`comments` mediumint unsigned COMMENT 'Number of comments',
`activities` mediumint unsigned COMMENT 'Number of activities (like, dislike, ...)',
@ -2123,6 +2124,7 @@ CREATE VIEW `post-searchindex-user-view` AS SELECT
`post-thread-user`.`commented` AS `commented`,
`post-thread-user`.`received` AS `received`,
`post-thread-user`.`created` AS `created`,
`post-thread-user`.`network` AS `network`,
`post-searchindex`.`language` AS `restricted`,
0 AS `comments`,
0 AS `activities`