entities, init schema migration

This commit is contained in:
Pravdin Egor
2023-09-19 20:37:42 +07:00
parent 51344d2018
commit 968d83e58b
16 changed files with 347 additions and 17 deletions
+5 -2
View File
@@ -17,7 +17,9 @@
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json"
"test:e2e": "jest --config ./test/jest-e2e.json",
"typeorm": "ts-node ./node_modules/typeorm/cli",
"migrate:run": "npm run typeorm migration:run -- -d ./typeorm.config.ts"
},
"dependencies": {
"@nestjs/common": "^9.0.0",
@@ -51,6 +53,7 @@
"@types/express": "^4.17.13",
"@types/jest": "29.5.1",
"@types/lodash": "^4.14.198",
"@types/multer": "^1.4.7",
"@types/node": "18.16.12",
"@types/passport-jwt": "^3.0.9",
"@types/passport-local": "^1.0.35",
@@ -87,4 +90,4 @@
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}
}