How to Configure Your Database URL
- Locate your
.env
file in the root of your project - Add or update your DATABASE_URL and DATABASE_DIRECT_URL environment variable:
DATABASE_URL=
DATABASE_DIRECT_URL= - Run Prisma Generate to update your database client:
pnpm generatedb
- Push your schema changes to the database:
pnpm pushdb
Your database is now configured and ready to use!
To learn more about Prisma, visit the official Prisma documentation.