summaryrefslogtreecommitdiff
path: root/app/SQL/install.sql.sqlite.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-03-26 14:07:06 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-03-26 14:07:06 +0200
commite956aee53d561fbdc11a78a50ad7cc041108e5b5 (patch)
tree2ebad34d81f49f3ac3cbc1568e13e60f9659d55a /app/SQL/install.sql.sqlite.php
parenta20fd9db9f0ed0e27c65671bb10402ced10587b1 (diff)
More defered insertion. New SQL index
New index entry_feed_read_index TODO: Auto add this index to existing version
Diffstat (limited to 'app/SQL/install.sql.sqlite.php')
-rw-r--r--app/SQL/install.sql.sqlite.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/SQL/install.sql.sqlite.php b/app/SQL/install.sql.sqlite.php
index ad7d525fd..dcb7a351a 100644
--- a/app/SQL/install.sql.sqlite.php
+++ b/app/SQL/install.sql.sqlite.php
@@ -53,6 +53,7 @@ $SQL_CREATE_TABLES = array(
'CREATE INDEX IF NOT EXISTS entry_is_favorite_index ON `entry`(`is_favorite`);',
'CREATE INDEX IF NOT EXISTS entry_is_read_index ON `entry`(`is_read`);',
'CREATE INDEX IF NOT EXISTS entry_lastSeen_index ON `entry`(`lastSeen`);', //v1.1.1
+'CREATE INDEX IF NOT EXISTS entry_feed_read_index ON `entry`(`id_feed`,`is_read`);', //v1.7 //TODO: Auto add this index to existing version
'INSERT OR IGNORE INTO `category` (id, name) VALUES(1, "%2$s");',
);