Database
1. Create a Neon DB Account
Sign Up: Go to the Neon DB website and sign up for an account.
Create a New Database: Once logged in, create a new database instance. Note down the connection details (host, database name, username, password).
Add Your Database Credentials:
Copy
PS: Your Directory Section names should be determined at both the config object level (/lib/config/sections.ts) and the Prisma schema level.
When you've ensured the config file and schema are aligned, run npx prisma db push
to updates your database to match your Prisma schema , followed by npx prisma generate
to regenerate the Prisma Client.
Last updated