chore: update Prisma migration commands for environment configuration

- Changed environment file reference from .env.local to .env in package.json for Prisma migration commands
- Ensured consistent environment variable usage across development commands
This commit is contained in:
Juan Sebastián Montoya 2025-04-10 14:46:54 -05:00
parent cffcddb259
commit 885a65c796

View file

@ -11,8 +11,8 @@
"start": "node dist/index.js", "start": "node dist/index.js",
"dev": "nodemon --delay 2000ms src/index.ts", "dev": "nodemon --delay 2000ms src/index.ts",
"prisma:generate": "prisma generate", "prisma:generate": "prisma generate",
"prisma:migrate": "dotenv -e ../../.env.local -- prisma migrate dev", "prisma:migrate": "dotenv -e ../../.env -c -- prisma migrate dev",
"prisma:init": "dotenv -e ../../.env.local -- prisma migrate dev --name init", "prisma:init": "dotenv -e ../../.env -c -- prisma migrate dev --name init",
"build": "tsc" "build": "tsc"
}, },
"keywords": [], "keywords": [],