Create a Relation Between Two Tables in the Prisma Schema

Share this video with your friends

Send Tweet

Prisma Schema Language is used to model our database tables and establish relations between them. Prisma offers autocompletion to register the relations. In this lesson, we create a new model for a second database table and see how to relate our two tables together.