0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Make it possible to override useNullAsDefault

refs #6623, #6637

- this was supposed to be in the original
This commit is contained in:
Hannah Wolfe 2016-03-24 16:33:16 +00:00
parent e72dddbf97
commit 57271878c0

View file

@ -23,7 +23,7 @@ function configure(dbConfig) {
}
if (client === 'sqlite3') {
dbConfig.useNullAsDefault = false;
dbConfig.useNullAsDefault = dbConfig.useNullAsDefault || false;
}
return dbConfig;