migrate script

This commit is contained in:
Flam3rboy 2021-10-10 14:21:24 +02:00
parent f956caf64e
commit 9e9c3ff57f

View File

@ -8,7 +8,8 @@
"build": "node scripts/build.js",
"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"
"test": "echo \"Error: no test specified\" && exit 1",
"migrate": "node node_modules/typeorm/cli.js -f ../util/ormconfig.json migration:run"
},
"repository": {
"type": "git",