mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 16:38:22 +03:00
Merge pull request #6638 from ErisDS/knex-config
Make it possible to override `useNullAsDefault`
This commit is contained in:
commit
dde27f4dcf
@ -23,7 +23,7 @@ function configure(dbConfig) {
|
||||
}
|
||||
|
||||
if (client === 'sqlite3') {
|
||||
dbConfig.useNullAsDefault = false;
|
||||
dbConfig.useNullAsDefault = dbConfig.useNullAsDefault || false;
|
||||
}
|
||||
|
||||
return dbConfig;
|
||||
|
Loading…
Reference in New Issue
Block a user