0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36: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') { if (client === 'sqlite3') {
dbConfig.useNullAsDefault = false; dbConfig.useNullAsDefault = dbConfig.useNullAsDefault || false;
} }
return dbConfig; return dbConfig;