Initial Setup
Database

Database

Boilerbay uses Prisma (opens in a new tab) to interact with the database. You can find the configuration in the prisma/schema.prisma file.

Update the database URL in the DATABASE_URL environment variable in the .env.local file.

Then run the following command to generate the Prisma client:

yarn prisma generate

After this push the schema to the database:

yarn prisma db push

Now you can see the database in the Prisma Studio:

yarn prisma studio