featured courses bg

Getting Started with Prisma

Modelling Relations

Define a One-to-Many Relation in the Prisma Schema

ryan

RyanChenkie

Full Stack Instructor

hero grid

Prisma allows us to easily establish one-to-many relations between our data models. In this lesson, we see how to create a one-to-many relation between two models and then apply the changes to the database.

Getting Started with Prisma

Lesson write-up coming soon