mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 22:02:11 +03:00
Make it possible to override useNullAsDefault
refs #6623, #6637 - this was supposed to be in the original
This commit is contained in:
parent
e72dddbf97
commit
57271878c0
@ -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