diff --git a/.gitignore b/.gitignore index c4f68bb..06c3c6e 100644 --- a/.gitignore +++ b/.gitignore @@ -65,4 +65,4 @@ typings/ # Databases # data/sleep-tracker.db3 -data/test.db3 \ No newline at end of file +# data/test.db3 \ No newline at end of file diff --git a/data/test.db3 b/data/test.db3 new file mode 100644 index 0000000..8485c0d Binary files /dev/null and b/data/test.db3 differ diff --git a/knexfile.js b/knexfile.js index e1c743d..363af91 100644 --- a/knexfile.js +++ b/knexfile.js @@ -21,7 +21,7 @@ module.exports = { } }, - testing: { + test: { client: "sqlite3", useNullAsDefault: true, connection: {