summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-27 15:12:32 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-27 15:23:56 +1100
commitc25a2e5c5b64b2f4353b79745a8bfb7d57628628 (patch)
treea1a6fc24b6703cc59cd31cc868fe0e825421cf52 /package.json
parentAdd GH workflow for build (diff)
downloadserver-c25a2e5c5b64b2f4353b79745a8bfb7d57628628.tar.xz
Move datasource to own file for typeorm cli
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
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",