mirror of
https://github.com/movie-web/backend.git
synced 2025-09-13 08:23:26 +00:00
Fix MikroORM migrations and create initial migration
Co-authored-by: mrjvs <mistrjvs@gmail.com>
This commit is contained in:
13
package.json
13
package.json
@@ -14,9 +14,18 @@
|
||||
"lint:fix": "eslint --fix --ext .ts,.js,.json,.tsx src/",
|
||||
"build:pre": "rimraf dist/",
|
||||
"build:compile": "tsc && tsc-alias",
|
||||
"preinstall": "npx -y only-allow pnpm"
|
||||
"preinstall": "npx -y only-allow pnpm",
|
||||
"migration:create": "npx -y mikro-orm migration:create"
|
||||
},
|
||||
"mikro-orm": {
|
||||
"useTsNode": true,
|
||||
"configPaths": [
|
||||
"./src/mikro-orm.config.ts"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mikro-orm/cli": "^5.9.2",
|
||||
"@mikro-orm/migrations": "^5.9.2",
|
||||
"@types/jsonwebtoken": "^9.0.4",
|
||||
"@types/node": "^20.5.3",
|
||||
"@types/node-forge": "^1.3.8",
|
||||
@@ -36,7 +45,7 @@
|
||||
"dependencies": {
|
||||
"@fastify/cors": "^8.3.0",
|
||||
"@mikro-orm/core": "^5.9.0",
|
||||
"@mikro-orm/postgresql": "^5.9.0",
|
||||
"@mikro-orm/postgresql": "^5.9.2",
|
||||
"@types/ms": "^0.7.33",
|
||||
"async-ratelimiter": "^1.3.12",
|
||||
"cron": "^3.1.5",
|
||||
|
Reference in New Issue
Block a user