mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-13 13:43:41 +01:00
only set wal for sqlite
This commit is contained in:
@@ -14,7 +14,8 @@ sequelize = new Sequelize(
|
||||
options
|
||||
)
|
||||
|
||||
sequelize.query("PRAGMA journal_mode=WAL;")
|
||||
if Settings.mysql.clsi.dialect == "sqlite"
|
||||
sequelize.query("PRAGMA journal_mode=WAL;")
|
||||
|
||||
module.exports =
|
||||
UrlCache: sequelize.define("UrlCache", {
|
||||
|
||||
Reference in New Issue
Block a user