mirror of
https://github.com/friendica/friendica
synced 2024-11-09 16:22:56 +00:00
Index added
This commit is contained in:
parent
f81192b4c3
commit
eae1affb21
3 changed files with 5 additions and 2 deletions
|
@ -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`),
|
||||
|
|
|
@ -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 |
|
||||
|
|
|
@ -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"],
|
||||
|
|
Loading…
Reference in a new issue