Skip to content

Commit

Permalink
chore: refactor prisma setup
Browse files Browse the repository at this point in the history
  • Loading branch information
solufa committed Jul 7, 2024
1 parent 25d8f7a commit b7f7036
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"generate": "run-s generate:prisma generate:frourio",
"generate:prisma": "prisma generate",
"generate:frourio": "frourio",
"migrate:dev": "prisma migrate dev && npx prisma db seed",
"migrate:dev": "prisma migrate dev",
"migrate:dev:createonly": "prisma migrate dev --create-only",
"migrate:deploy": "prisma migrate deploy && npx prisma db seed",
"migrate:reset": "prisma migrate reset",
Expand Down
1 change: 0 additions & 1 deletion server/tests/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ beforeEach(async (info) => {
if (unneededServer(info.task.file)) return;

await util.promisify(exec)('npx prisma migrate reset --force');
await util.promisify(exec)('npx prisma db seed');
await userPoolUseCase.initDefaults();
});

Expand Down

0 comments on commit b7f7036

Please sign in to comment.