consolidate migrations

This commit is contained in:
2026-05-29 15:31:40 +03:30
parent 8ef4152853
commit e71df6b739
16 changed files with 113 additions and 450 deletions
+2 -2
View File
@@ -9,9 +9,9 @@
"db:create": "npx mikro-orm schema:create --run --config ./src/config/mikro-orm.config.dev.ts",
"db:update": "npx mikro-orm schema:update --run --config ./src/config/mikro-orm.config.dev.ts ",
"db:drop": "npx mikro-orm schema:drop --run --config ./src/config/mikro-orm.config.dev.ts",
"db:seed": "npx mikro-orm seeder:run --config ./src/config/mikro-orm.config.dev.ts",
"db:reset": "npm run db:drop && npm run db:create && npm run db:seed",
"db:refresh": "npm run db:drop && npm run db:create ",
"db:reset": "npm run db:drop && npm run db:create && npm run db:seed",
"db:seed": "npx mikro-orm seeder:run --config ./src/config/mikro-orm.config.dev.ts",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start dist/main",