X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=database.sql;h=197a5423217b25c491a5bc1553f5916518623cac;hb=2971501f63eb2da0eecff07b4dc27995af8227ac;hp=2c1326491965272d9b755e0b847f1d7845c4b995;hpb=f96423feae227e5def8b90ced82ee3405b24f068;p=friendica.git diff --git a/database.sql b/database.sql index 2c13264919..197a542321 100644 --- a/database.sql +++ b/database.sql @@ -1,6 +1,6 @@ -- ------------------------------------------ --- Friendica 3.5.2-rc (Asparagus) --- DB_UPDATE_VERSION 1227 +-- Friendica 3.5.3-dev (Asparagus) +-- 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; -- @@ -1114,8 +1115,11 @@ CREATE TABLE IF NOT EXISTS `workerqueue` ( `created` datetime NOT NULL DEFAULT '0001-01-01 00:00:00', `pid` int(11) NOT NULL DEFAULT 0, `executed` datetime NOT NULL DEFAULT '0001-01-01 00:00:00', + `done` tinyint(1) NOT NULL DEFAULT 0, PRIMARY KEY(`id`), INDEX `pid` (`pid`), - INDEX `priority_created` (`priority`,`created`) + INDEX `parameter` (`parameter`(64)), + INDEX `priority_created` (`priority`,`created`), + INDEX `executed` (`executed`) ) DEFAULT COLLATE utf8mb4_general_ci;