Add into sqlite db index by items status

This commit is contained in:
denfil 2017-06-26 22:34:05 +03:00 committed by Frédéric Guillot
parent d67982c49d
commit f46a30448a

View File

@ -5,7 +5,12 @@ namespace Miniflux\Schema;
use PDO;
use Miniflux\Helper;
const VERSION = 4;
const VERSION = 5;
function version_5(PDO $pdo)
{
$pdo->exec('CREATE INDEX items_status_idx ON items(status)');
}
function version_4(PDO $pdo)
{