aboutsummaryrefslogtreecommitdiff
path: root/knexfile.js
diff options
context:
space:
mode:
authorPitu <[email protected]>2019-02-23 00:45:45 +0900
committerPitu <[email protected]>2019-02-23 00:45:45 +0900
commitfc95cb7b0f047806937c25f0fc1104c72b0a32cb (patch)
treefcf55a9e1f280dc34912a914e0cc47f69ce0b8c4 /knexfile.js
parentUpdate Util.js (diff)
downloadhost.fuwn.me-fc95cb7b0f047806937c25f0fc1104c72b0a32cb.tar.xz
host.fuwn.me-fc95cb7b0f047806937c25f0fc1104c72b0a32cb.zip
Better DB handling and stuff
Diffstat (limited to 'knexfile.js')
-rw-r--r--knexfile.js3
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
};