mirror of
https://github.com/friendica/friendica
synced 2025-04-26 11:50:11 +00:00
flatten conversation hierarchy to one level on import but preserve all thread info
in case somebody wants to write a plugin to display as multi-level thread
This commit is contained in:
parent
4507a571d3
commit
e9a1abd133
4 changed files with 25 additions and 6 deletions
|
@ -153,14 +153,15 @@ CREATE TABLE IF NOT EXISTS `intro` (
|
|||
|
||||
CREATE TABLE IF NOT EXISTS `item` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`uri` char(255) CHARACTER SET ascii NOT NULL,
|
||||
`uri` char(255) NOT NULL,
|
||||
`uid` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`contact-id` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`type` char(255) NOT NULL,
|
||||
`wall` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`gravity` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`parent` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`parent-uri` char(255) CHARACTER SET ascii NOT NULL,
|
||||
`parent-uri` char(255) NOT NULL,
|
||||
`thr-parent` char(255) NOT NULL,
|
||||
`created` datetime NOT NULL,
|
||||
`edited` datetime NOT NULL,
|
||||
`changed` datetime NOT NULL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue