Skip to content

chore: update prisma build scripts and schema#10

Open
DavisNoah02 wants to merge 1 commit intomainfrom
feat/api
Open

chore: update prisma build scripts and schema#10
DavisNoah02 wants to merge 1 commit intomainfrom
feat/api

Conversation

@DavisNoah02
Copy link
Copy Markdown
Owner

This pull request updates the build process and database configuration for the project. The main changes ensure that Prisma generates its client and applies migrations automatically during the build, and that the database connection string is now set via an environment variable.

Build process improvements:

  • Updated the build script in package.json to run prisma generate before next build, ensuring the Prisma client is generated before building the app. Added a postbuild script to deploy database migrations automatically after building.

Database configuration:

  • Modified the prisma/schema.prisma file to set the database URL using the DATABASE_URL environment variable, making the configuration more flexible and secure.

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
convert-neo Error Error Mar 29, 2026 7:27pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant