diff options
| author | Pitu <[email protected]> | 2020-12-25 03:58:19 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2020-12-25 03:58:19 +0900 |
| commit | f73cde6bb501d72e46f0aadf95e6809e9d265e5b (patch) | |
| tree | 397c8b23d5776efafc463c2b8723e908a73cb98d /src/api/databaseMigration.js | |
| parent | fix: remove log (diff) | |
| download | host.fuwn.me-f73cde6bb501d72e46f0aadf95e6809e9d265e5b.tar.xz host.fuwn.me-f73cde6bb501d72e46f0aadf95e6809e9d265e5b.zip | |
Chore: Move database to a subfolder for docker purposes
Diffstat (limited to 'src/api/databaseMigration.js')
| -rw-r--r-- | src/api/databaseMigration.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/databaseMigration.js b/src/api/databaseMigration.js index 9afbb4a..73ec85c 100644 --- a/src/api/databaseMigration.js +++ b/src/api/databaseMigration.js @@ -62,7 +62,7 @@ const oldDb = require('knex')({ const newDb = require('knex')({ client: 'sqlite3', connection: { - filename: nodePath.join(__dirname, '../../', 'database.sqlite') + filename: nodePath.join(__dirname, '../../database/', 'database.sqlite') }, postProcessResponse: result => { const booleanFields = [ |