mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-19 09:53:22 -04:00
More defered insertion. New SQL index
New index entry_feed_read_index TODO: Auto add this index to existing version
This commit is contained in:
1 parent
a20fd9db9f
commit
e956aee53d
8 files changed
+37
-59
No files matched your search
@@ -50,6 +50,7 @@ $SQL_CREATE_TABLES = array(
|
||||
'CREATE INDEX %1$sis_favorite_index ON "%1$sentry" ("is_favorite");',
|
||||
'CREATE INDEX %1$sis_read_index ON "%1$sentry" ("is_read");',
|
||||
'CREATE INDEX %1$sentry_lastSeen_index ON "%1$sentry" ("lastSeen");',
|
||||
'CREATE INDEX %1$sentry_feed_read_index ON "%1$sentry" ("id_feed","is_read");', //v1.7 //TODO: Auto add this index to existing version
|
||||
|
||||
'INSERT INTO "%1$scategory" (name) SELECT \'%2$s\' WHERE NOT EXISTS (SELECT id FROM "%1$scategory" WHERE id = 1);',
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user