]> git.mxchange.org Git - friendica.git/blobdiff - database.sql
Last blob is now filled with the new functions
[friendica.git] / database.sql
index a3f937587cb52d55bb501a9adbdc395b8bd66531..197a5423217b25c491a5bc1553f5916518623cac 100644 (file)
@@ -1,6 +1,6 @@
 -- ------------------------------------------
 -- Friendica 3.5.3-dev (Asparagus)
--- DB_UPDATE_VERSION 1231
+-- DB_UPDATE_VERSION 1234
 -- ------------------------------------------
 
 
@@ -944,7 +944,7 @@ CREATE TABLE IF NOT EXISTS `sign` (
        `signature` text,
        `signer` varchar(255) NOT NULL DEFAULT '',
         PRIMARY KEY(`id`),
-        INDEX `iid` (`iid`)
+        UNIQUE INDEX `iid` (`iid`)
 ) DEFAULT COLLATE utf8mb4_general_ci;
 
 --
@@ -1027,7 +1027,8 @@ CREATE TABLE IF NOT EXISTS `thread` (
         INDEX `authorid` (`author-id`),
         INDEX `uid_created` (`uid`,`created`),
         INDEX `uid_commented` (`uid`,`commented`),
-        INDEX `uid_wall_created` (`uid`,`wall`,`created`)
+        INDEX `uid_wall_created` (`uid`,`wall`,`created`),
+        INDEX `private_wall_received` (`private`,`wall`,`received`)
 ) DEFAULT COLLATE utf8mb4_general_ci;
 
 --