summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-10 14:21:24 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-10 14:21:24 +0200
commit9e9c3ff57fa80425a9bfb392de0e021fb32991ef (patch)
tree49c1345a863d851406a374bc5923565f25eadb4b
parentMerge branch 'master' of http://github.com/fosscord/fosscord-server (diff)
downloadserver-9e9c3ff57fa80425a9bfb392de0e021fb32991ef.tar.xz
:sparkles: migrate script
-rw-r--r--bundle/package.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/bundle/package.json b/bundle/package.json

index 3bed5b07..3d41f7c2 100644 --- a/bundle/package.json +++ b/bundle/package.json
@@ -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" } -} \ No newline at end of file +}