diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-10 14:21:24 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-10 14:21:24 +0200 |
commit | 347943ffd4897f11bb2ec90a704905d6ad1d7125 (patch) | |
tree | 4f5871c4e5401150f1cca3743e1a7cf4e365fa0d /bundle/package.json | |
parent | Merge branch 'master' of http://github.com/fosscord/fosscord-server (diff) | |
download | server-347943ffd4897f11bb2ec90a704905d6ad1d7125.tar.xz |
:sparkles: migrate script
Diffstat (limited to 'bundle/package.json')
-rw-r--r-- | bundle/package.json | 5 |
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 +} |