Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
fix: prisma generate
Browse files Browse the repository at this point in the history
  • Loading branch information
hermesalvesbr committed May 25, 2024
1 parent 3b9a912 commit c66f5c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Docker/prisma-init.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const { execSync } = require('child_process')

try {
console.log('Running Prisma migrations...')
execSync('npx prisma generate', { stdio: 'inherit' })
execSync('npx prisma migrate deploy', { stdio: 'inherit' })
console.log('Prisma migrations completed successfully.')

Expand Down

0 comments on commit c66f5c8

Please sign in to comment.