]> git.mxchange.org Git - friendica.git/commitdiff
Index added
authorMichael <heluecht@pirati.ca>
Thu, 14 Dec 2023 05:36:31 +0000 (05:36 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 14 Dec 2023 05:36:31 +0000 (05:36 +0000)
database.sql
doc/database/db_post-user.md
static/dbstructure.config.php

index 86f8e82eb5397582884753afec3bbd6ba5bae69b..013f182285c80cebdd57f416d2821dc767496183 100644 (file)
@@ -1,6 +1,6 @@
 -- ------------------------------------------
 -- Friendica 2023.09-rc (Giant Rhubarb)
--- DB_UPDATE_VERSION 1540
+-- DB_UPDATE_VERSION 1541
 -- ------------------------------------------
 
 
@@ -1535,6 +1535,7 @@ CREATE TABLE IF NOT EXISTS `post-user` (
         INDEX `psid` (`psid`),
         INDEX `author-id_uid` (`author-id`,`uid`),
         INDEX `author-id_received` (`author-id`,`received`),
+        INDEX `owner-id_received` (`owner-id`,`received`),
         INDEX `parent-uri-id_uid` (`parent-uri-id`,`uid`),
         INDEX `uid_wall_received` (`uid`,`wall`,`received`),
         INDEX `uid_contactid` (`uid`,`contact-id`),
index 2fe91d144b4a74436a6729c98e3b63332c325c65..d56fa620b810b8b6bd99bba8bb4c4322baac29e6 100644 (file)
@@ -59,6 +59,7 @@ Indexes
 | psid                 | psid                    |
 | author-id_uid        | author-id, uid          |
 | author-id_received   | author-id, received     |
+| owner-id_received    | owner-id, received      |
 | parent-uri-id_uid    | parent-uri-id, uid      |
 | uid_wall_received    | uid, wall, received     |
 | uid_contactid        | uid, contact-id         |
index be16270ca2cb553c77bba3f67502e3a9d8851684..cd5b0563ab08d397a4ff12c4a20e3d23907082a2 100644 (file)
@@ -56,7 +56,7 @@ use Friendica\Database\DBA;
 
 // This file is required several times during the test in DbaDefinition which justifies this condition
 if (!defined('DB_UPDATE_VERSION')) {
-       define('DB_UPDATE_VERSION', 1540);
+       define('DB_UPDATE_VERSION', 1541);
 }
 
 return [
@@ -1552,6 +1552,7 @@ return [
                        "psid" => ["psid"],
                        "author-id_uid" => ["author-id", "uid"],
                        "author-id_received" => ["author-id", "received"],
+                       "owner-id_received" => ["owner-id", "received"],
                        "parent-uri-id_uid" => ["parent-uri-id", "uid"],
                        "uid_wall_received" => ["uid", "wall", "received"],
                        "uid_contactid" => ["uid", "contact-id"],