diff options
| author | Pitu <[email protected]> | 2019-02-23 00:45:45 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2019-02-23 00:45:45 +0900 |
| commit | fc95cb7b0f047806937c25f0fc1104c72b0a32cb (patch) | |
| tree | fcf55a9e1f280dc34912a914e0cc47f69ce0b8c4 /knexfile.js | |
| parent | Update Util.js (diff) | |
| download | host.fuwn.me-fc95cb7b0f047806937c25f0fc1104c72b0a32cb.tar.xz host.fuwn.me-fc95cb7b0f047806937c25f0fc1104c72b0a32cb.zip | |
Better DB handling and stuff
Diffstat (limited to 'knexfile.js')
| -rw-r--r-- | knexfile.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/knexfile.js b/knexfile.js index b293f80..0342bbf 100644 --- a/knexfile.js +++ b/knexfile.js @@ -18,5 +18,6 @@ module.exports = { }, seeds: { directory: 'src/api/database/seeds' - } + }, + useNullAsDefault: process.env.DB_CLIENT === 'sqlite' ? true : false }; |