]> git.mxchange.org Git - friendica.git/blobdiff - database.sql
Merge pull request #8075 from annando/html-escaping
[friendica.git] / database.sql
index 02d1ac895c5d517d4e3362e1124a2bdbce2d6a21..6252f8057944ec49a396896f731776dd12a55754 100644 (file)
@@ -1287,7 +1287,8 @@ CREATE TABLE IF NOT EXISTS `user-item` (
        `pinned` boolean COMMENT 'The item is pinned on the profile page',
        `notification-type` tinyint unsigned NOT NULL DEFAULT 0 COMMENT '',
         PRIMARY KEY(`uid`,`iid`),
-        INDEX `uid_pinned` (`uid`,`pinned`)
+        INDEX `uid_pinned` (`uid`,`pinned`),
+        INDEX `iid_uid` (`iid`,`uid`)
 ) DEFAULT COLLATE utf8mb4_general_ci COMMENT='User specific item data';
 
 --