mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-04 22:53:27 -04:00
Drop indexes
This commit is contained in:
@@ -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"',
|
||||
];
|
||||
|
||||
@@ -113,4 +113,13 @@ $SQL_DROP_TABLES = [
|
||||
'DROP TABLE IF EXISTS `entry`',
|
||||
'DROP TABLE IF EXISTS `feed`',
|
||||
'DROP TABLE IF EXISTS `category`',
|
||||
'DROP INDEX IF EXISTS `entrytag_id_entry_index`',
|
||||
'DROP INDEX IF EXISTS `entry_feed_read_index`',
|
||||
'DROP INDEX IF EXISTS `entrytmp_date_index`',
|
||||
'DROP INDEX IF EXISTS `entry_lastSeen_index`',
|
||||
'DROP INDEX IF EXISTS `entry_is_read_index`',
|
||||
'DROP INDEX IF EXISTS `entry_is_favorite_index`',
|
||||
'DROP INDEX IF EXISTS `feed_keep_history_index`',
|
||||
'DROP INDEX IF EXISTS `feed_priority_index`',
|
||||
'DROP INDEX IF EXISTS `feed_name_index`',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user