1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 20:52:42 +01:00

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",
@ -94,4 +95,4 @@
"ws": "^7.4.2",
"cheerio": "^1.0.0-rc.10"
}
}
}