]> git.mxchange.org Git - friendica.git/commitdiff
Update database.sql with the latest structure changes
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 15 Nov 2020 16:42:46 +0000 (11:42 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 15 Nov 2020 16:42:46 +0000 (11:42 -0500)
database.sql

index daf65d7c88251981b6d240ef6bece33e6223eced..e2a0f243a1c5e838bc8277c7f96e0ccfe90a13ad 100644 (file)
@@ -641,8 +641,8 @@ CREATE TABLE IF NOT EXISTS `item` (
        `uri-id` int unsigned COMMENT 'Id of the item-uri table entry that contains the item uri',
        `uri-hash` varchar(80) NOT NULL DEFAULT '' COMMENT 'RIPEMD-128 hash from uri',
        `parent` int unsigned NOT NULL DEFAULT 0 COMMENT 'item.id of the parent to this item if it is a reply of some form; otherwise this must be set to the id of this item',
-       `parent-uri` varchar(255) NOT NULL DEFAULT '' COMMENT 'uri of the parent to this item',
-       `parent-uri-id` int unsigned COMMENT 'Id of the item-uri table that contains the parent uri',
+       `parent-uri` varchar(255) NOT NULL DEFAULT '' COMMENT 'uri of the top-level parent to this item',
+       `parent-uri-id` int unsigned COMMENT 'Id of the item-uri table that contains the top-level parent uri',
        `thr-parent` varchar(255) NOT NULL DEFAULT '' COMMENT 'If the parent of this item is not the top-level item in the conversation, the uri of the immediate parent; otherwise set to parent-uri',
        `thr-parent-id` int unsigned COMMENT 'Id of the item-uri table that contains the thread parent uri',
        `created` datetime NOT NULL DEFAULT '0001-01-01 00:00:00' COMMENT 'Creation timestamp.',