From 9e9c3ff57fa80425a9bfb392de0e021fb32991ef Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Sun, 10 Oct 2021 14:21:24 +0200 Subject: [PATCH] :sparkles: migrate script --- bundle/package.json | 5 +++-- 1 file 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 +}