]> git.mxchange.org Git - friendica.git/blobdiff - database.sql
Merge pull request #13514 from MrPetovan/bug/channel-classes
[friendica.git] / database.sql
index 25f94cac85bbe11cca9a411e0eba4d13487396ad..ec7adc5c7a324ffef71546fe65e5411672a688cd 100644 (file)
@@ -1,6 +1,6 @@
 -- ------------------------------------------
--- Friendica 2023.09-dev (Giant Rhubarb)
--- DB_UPDATE_VERSION 1535
+-- Friendica 2023.09-rc (Giant Rhubarb)
+-- DB_UPDATE_VERSION 1536
 -- ------------------------------------------
 
 
@@ -500,6 +500,7 @@ CREATE TABLE IF NOT EXISTS `channel` (
        `uid` mediumint unsigned NOT NULL COMMENT 'User id',
        `label` varchar(64) NOT NULL COMMENT 'Channel label',
        `description` varchar(64) COMMENT 'Channel description',
+       `circle` int COMMENT 'Circle or channel that this channel is based on',
        `access-key` varchar(1) COMMENT 'Access key',
        `include-tags` varchar(255) COMMENT 'Comma separated list of tags that will be included in the channel',
        `exclude-tags` varchar(255) COMMENT 'Comma separated list of tags that aren\'t allowed in the channel',
@@ -2090,6 +2091,7 @@ CREATE VIEW `post-user-view` AS SELECT
        `author`.`blocked` AS `author-blocked`,
        `author`.`hidden` AS `author-hidden`,
        `author`.`updated` AS `author-updated`,
+       `author`.`contact-type` AS `author-contact-type`,
        `author`.`gsid` AS `author-gsid`,
        `author`.`baseurl` AS `author-baseurl`,
        `post-user`.`owner-id` AS `owner-id`,
@@ -2274,6 +2276,7 @@ CREATE VIEW `post-thread-user-view` AS SELECT
        `author`.`blocked` AS `author-blocked`,
        `author`.`hidden` AS `author-hidden`,
        `author`.`updated` AS `author-updated`,
+       `author`.`contact-type` AS `author-contact-type`,
        `author`.`gsid` AS `author-gsid`,
        `post-thread-user`.`owner-id` AS `owner-id`,
        `owner`.`uri-id` AS `owner-uri-id`,
@@ -2442,6 +2445,7 @@ CREATE VIEW `post-view` AS SELECT
        `author`.`blocked` AS `author-blocked`,
        `author`.`hidden` AS `author-hidden`,
        `author`.`updated` AS `author-updated`,
+       `author`.`contact-type` AS `author-contact-type`,
        `author`.`gsid` AS `author-gsid`,
        `post`.`owner-id` AS `owner-id`,
        `owner`.`uri-id` AS `owner-uri-id`,
@@ -2587,6 +2591,7 @@ CREATE VIEW `post-thread-view` AS SELECT
        `author`.`blocked` AS `author-blocked`,
        `author`.`hidden` AS `author-hidden`,
        `author`.`updated` AS `author-updated`,
+       `author`.`contact-type` AS `author-contact-type`,
        `author`.`gsid` AS `author-gsid`,
        `post-thread`.`owner-id` AS `owner-id`,
        `owner`.`uri-id` AS `owner-uri-id`,