Setting up the database models for posts & nested comments

During this episode, we setup the database models required for creating posts, related entities (e.g. projects, manufacturers, models etc) so that you can add them to the post as well as the comment model.

We will talk through setting up the models in Prisma ORM and run the migrations.

This project was set up using the T3 stack and Nextjs


We have made the MY4X4 repo public so that you can follow along!

GitHub: https://github.com/lockedandlifted/my4x4

View More Posts

Portfolio built using the open source project by

Ken Greeff

Create your own Next.js Portfolio with Contentful CMS by forking this repo onGitHub

Blog

|

Projects

|

Health

|

Recipes

|

About

|

Contact

2024 Greeff Consulting Pty Ltd