]> git.mxchange.org Git - friendica.git/commitdiff
Remove unneeded indexes
authorMichael <heluecht@pirati.ca>
Sat, 16 Sep 2023 04:23:44 +0000 (04:23 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 16 Sep 2023 04:23:44 +0000 (04:23 +0000)
database.sql
doc/database/db_post-thread-user.md
static/dbstructure.config.php

index 32fb258314e68199d7bfec7c54e6943f6c3c8c16..2eec6fb80932c537a4784aced45f10dfa4dbbb52 100644 (file)
@@ -1573,8 +1573,6 @@ CREATE TABLE IF NOT EXISTS `post-thread-user` (
         INDEX `post-user-id` (`post-user-id`),
         INDEX `commented` (`commented`),
         INDEX `received` (`received`),
-        INDEX `wall` (`wall`),
-        INDEX `origin` (`origin`),
         INDEX `uid_received` (`uid`,`received`),
         INDEX `uid_wall_received` (`uid`,`wall`,`received`),
         INDEX `uid_commented` (`uid`,`commented`),
index e29148c4b36a79266d5297b5bec4960c3d4c0de0..e4f5e39bdae85b91733a3698f68a53c094bf4ef4 100644 (file)
@@ -50,8 +50,6 @@ Indexes
 | post-user-id      | post-user-id        |
 | commented         | commented           |
 | received          | received            |
-| wall              | wall                |
-| origin            | origin              |
 | uid_received      | uid, received       |
 | uid_wall_received | uid, wall, received |
 | uid_commented     | uid, commented      |
index 17f3fbdc1070bfced22325c853f8c67f3db9da78..89e234e7e9e6f39eebadce0c0087dc5cb39ba006 100644 (file)
@@ -1579,8 +1579,6 @@ return [
                        "post-user-id" => ["post-user-id"],
                        "commented" => ["commented"],
                        "received" => ["received"],
-                       "wall" => ["wall"],
-                       "origin" => ["origin"],
                        "uid_received" => ["uid", "received"],
                        "uid_wall_received" => ["uid", "wall", "received"],
                        "uid_commented" => ["uid", "commented"],