File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import * as path from 'path';
2020 EventEmitterModule . forRoot ( ) ,
2121
2222 LoggerModule . forRoot ( {
23+ level : process . env . NODE_ENV === 'test' ? 'error' : 'info' ,
2324 prettyPrint : process . env . NODE_ENV !== 'production' ,
2425 } ) ,
2526
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ docker compose exec -T minio sh -c \
4040 ' mc alias set local http://localhost:9000 minioadmin minioadmin 2>/dev/null && mc mb --ignore-existing local/demo-uploads 2>/dev/null' \
4141 || echo " WARNING: Could not create MinIO bucket (may already exist)"
4242
43- echo " ==> Pushing Prisma schema to database ..."
44- npx prisma db push --skip-generate --accept-data-loss 2>&1
43+ echo " ==> Resetting database (drop all tables + re-push schema) ..."
44+ npx prisma db push --force-reset -- skip-generate --accept-data-loss 2>&1
4545
4646echo " ==> Generating Prisma client..."
4747npx prisma generate 2>&1
You can’t perform that action at this time.
0 commit comments