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;