aboutsummaryrefslogtreecommitdiff
path: root/src/api/databaseMigration.js
diff options
context:
space:
mode:
authorPitu <[email protected]>2020-12-25 03:58:19 +0900
committerPitu <[email protected]>2020-12-25 03:58:19 +0900
commitf73cde6bb501d72e46f0aadf95e6809e9d265e5b (patch)
tree397c8b23d5776efafc463c2b8723e908a73cb98d /src/api/databaseMigration.js
parentfix: remove log (diff)
downloadhost.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.js2
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 = [