Drop indexes

This commit is contained in:
Alexandre Alapetite
2019-09-12 13:08:56 +02:00
parent 2b8b5937f2
commit f28d2bae09
2 changed files with 14 additions and 1 deletions

View File

@@ -106,4 +106,8 @@ define(
WHERE NOT EXISTS (SELECT id FROM "%1$sfeed" WHERE url = :url);'
);
define('SQL_DROP_TABLES', 'DROP TABLE IF EXISTS "%1$sentrytag", "%1$stag", "%1$sentrytmp", "%1$sentry", "%1$sfeed", "%1$scategory"');
global $SQL_DROP_TABLES;
$SQL_DROP_TABLES = [
'DROP TABLE IF EXISTS "%1$sentrytag", "%1$stag", "%1$sentrytmp", "%1$sentry", "%1$sfeed", "%1$scategory"',
'DROP INDEX IF EXISTS "%1$sentrytag_id_entry_index", "%1$sentry_feed_read_index", "%1$sentrytmp_date_index", "%1$sentry_lastSeen_index", "%1$sis_read_index", "%1$sis_favorite_index", "%1$skeep_history_index", "%1$spriority_index", "%1$sname_index"',
];