diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-27 15:12:32 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-27 15:23:56 +1100 |
commit | 8aa355dee788a6fb9b694a8e49063a7482f70fcc (patch) | |
tree | 71eb00236d37c7eb37b6d8be364e7e51ed8afb3b /package.json | |
parent | Add GH workflow for build (diff) | |
download | server-8aa355dee788a6fb9b694a8e49063a7482f70fcc.tar.xz |
Move datasource to own file for typeorm cli
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index 1c4cd388..6732503c 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "generate:rights": "node scripts/rights.js", "generate:schema": "node scripts/schema.js", "generate:client": "node scripts/client.js", - "generate:changelog": "node scripts/changelog.js" + "generate:changelog": "node scripts/changelog.js", + "generate:migration": "node node_modules/typeorm/cli.js migration:generate -d dist/util/util/Datasource.js" }, "main": "dist/bundle/index.js", "types": "src/bundle/index.ts", |