mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Merge pull request #6638 from ErisDS/knex-config
Make it possible to override `useNullAsDefault`
This commit is contained in:
commit
dde27f4dcf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue