Tweaks to document access
This commit is contained in:
@@ -76,6 +76,8 @@ class Data
|
||||
Definition::ensureFieldIndex(Table::ITEM, 'feed', ['feed_id', 'item_link'], $db);
|
||||
self::createSearchIndex($db);
|
||||
}
|
||||
$journalMode = Custom::scalar("PRAGMA journal_mode", [], fn($it) => $it[0]);
|
||||
if ($journalMode <> 'wal') Custom::nonQuery("PRAGMA journal_mode = 'wal'", []);
|
||||
$db->close();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user