Merge pull request #6638 from ErisDS/knex-config

Make it possible to override `useNullAsDefault`
This commit is contained in:
Jason Williams 2016-03-25 10:17:01 -05:00
commit dde27f4dcf

View File

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