mirror of
https://github.com/friendica/friendica
synced 2025-04-26 17:50:11 +00:00
Add missing fields to collection
This commit is contained in:
parent
8dc0ab9bb3
commit
a2452b33eb
3 changed files with 14 additions and 4 deletions
|
@ -2246,9 +2246,14 @@ CREATE VIEW `collection-view` AS SELECT
|
|||
`post-collection`.`type` AS `type`,
|
||||
`post`.`author-id` AS `cid`,
|
||||
`post`.`received` AS `received`,
|
||||
`post`.`created` AS `created`
|
||||
`post`.`created` AS `created`,
|
||||
`post-thread`.`commented` AS `commented`,
|
||||
`post`.`thr-parent-id` AS `thr-parent-id`,
|
||||
`post`.`author-id` AS `author-id`,
|
||||
`post`.`gravity` AS `gravity`
|
||||
FROM `post-collection`
|
||||
INNER JOIN `post` ON `post-collection`.`uri-id` = `post`.`uri-id`;
|
||||
INNER JOIN `post` ON `post-collection`.`uri-id` = `post`.`uri-id`
|
||||
INNER JOIN `post-thread` ON `post-thread`.`uri-id` = `post`.`parent-uri-id`;
|
||||
|
||||
--
|
||||
-- VIEW tag-view
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue