From bd40827b737464ea2de8857fded057122543990a Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Thu, 18 Dec 2014 02:18:17 -0500 Subject: [PATCH] Drop duplicate database indexes These duplicate indexes were found by the pt-duplicate-key-checker tool in percona-toolkit. Duplicate indexes waste space and slow down the query planner. Closes #835. Signed-off-by: Anders Kaseorg --- include/functions.php | 2 +- schema/ttrss_schema_mysql.sql | 16 ++-------------- schema/ttrss_schema_pgsql.sql | 7 ++----- schema/versions/mysql/127.sql | 18 ++++++++++++++++++ schema/versions/pgsql/127.sql | 8 ++++++++ 5 files changed, 31 insertions(+), 20 deletions(-) create mode 100644 schema/versions/mysql/127.sql create mode 100644 schema/versions/pgsql/127.sql diff --git a/include/functions.php b/include/functions.php index 2f3daea10..9b93aed80 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1,6 +1,6 @@