diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-10 18:28:50 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-10 18:28:50 +0200 |
commit | fd152e8b6df18c9d98d02fed9e446de9690650cd (patch) | |
tree | 72c6b4bad9373fc02c3cb0ec08bd464200b5daf6 /bundle | |
parent | :bug: fix vanity url (diff) | |
download | server-fd152e8b6df18c9d98d02fed9e446de9690650cd.tar.xz |
added vanity db migration
Diffstat (limited to 'bundle')
-rw-r--r-- | bundle/package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundle/package.json b/bundle/package.json index eedbdd8c..404c6758 100644 --- a/bundle/package.json +++ b/bundle/package.json @@ -9,7 +9,7 @@ "start": "node scripts/build.js && node dist/bundle/src/start.js", "start:bundle": "node dist/bundle/src/start.js", "test": "echo \"Error: no test specified\" && exit 1", - "migrate": "node --require ts-node/register node_modules/typeorm/cli.js -f ../util/ormconfig.json migration:run" + "migrate": "cd ../util/ && npm i && node --require ts-node/register node_modules/typeorm/cli.js -f ../util/ormconfig.json migration:run" }, "repository": { "type": "git", |