fix: remove hardcoded seed password from package.json (use SEED_ADMIN_PASSWORD env var)
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "next lint",
|
"lint": "next lint",
|
||||||
"db:seed": "SEED_ADMIN_PASSWORD=admin123 ts-node --compiler-options '{\"module\":\"CommonJS\"}' prisma/seed.ts"
|
"db:seed": "ts-node --compiler-options '{\"module\":\"CommonJS\"}' prisma/seed.ts"
|
||||||
},
|
},
|
||||||
"prisma": {
|
"prisma": {
|
||||||
"seed": "ts-node --compiler-options '{\"module\":\"CommonJS\"}' prisma/seed.ts"
|
"seed": "ts-node --compiler-options '{\"module\":\"CommonJS\"}' prisma/seed.ts"
|
||||||
|
|||||||
Reference in New Issue
Block a user