Skip to content

Commit

Permalink
revert stuff that shouldn't be changed
Browse files Browse the repository at this point in the history
  • Loading branch information
ludavidca committed Nov 13, 2024
1 parent de773ea commit 406d654
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ EXPOSE 3000

# Run the application
CMD echo "Running Prisma commands..." && \
# npx prisma generate && \
# npx prisma db push && \
# npx @snaplet/seed sync && \
# npx prisma db seed && \
npx prisma generate && \
npx prisma db push && \
npx @snaplet/seed sync && \
npx prisma db seed && \
echo "Starting Next.js application..." && \
npm run dev
4 changes: 3 additions & 1 deletion prisma/seed/seed.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//@ts-nocheck

import { createSeedClient } from '@snaplet/seed';
import { faker } from '@faker-js/faker';

Expand All @@ -6,7 +8,7 @@ const main = async () => {
connect: true,
});

// await seed.$resetDatabase();
await seed.$resetDatabase();

await seed.user((createMany) =>
createMany(5, () => ({
Expand Down

0 comments on commit 406d654

Please sign in to comment.