diff options
| author | Pitu <[email protected]> | 2019-02-22 00:00:07 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2019-02-22 00:00:07 +0900 |
| commit | c7a4a39de4e6113e88f07fefb3668e9fd3b1372a (patch) | |
| tree | f324198a3687489c5b8527bc6caeaea84cf236e7 /src/api/structures | |
| parent | Same (diff) | |
| download | host.fuwn.me-c7a4a39de4e6113e88f07fefb3668e9fd3b1372a.tar.xz host.fuwn.me-c7a4a39de4e6113e88f07fefb3668e9fd3b1372a.zip | |
Add support for sqlite
Diffstat (limited to 'src/api/structures')
| -rw-r--r-- | src/api/structures/Route.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/structures/Route.js b/src/api/structures/Route.js index 480763e..4c89724 100644 --- a/src/api/structures/Route.js +++ b/src/api/structures/Route.js @@ -5,7 +5,8 @@ const db = require('knex')({ host: process.env.DB_HOST, user: process.env.DB_USER, password: process.env.DB_PASSWORD, - database: process.env.DB_DATABASE + database: process.env.DB_DATABASE, + filename: '../../../database.sqlite' } }); const moment = require('moment'); |