How to Understand Your Prisma Database Schema Using Nabubit

Published on Sep 24, 2024


Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

Today we're going to use Nabubit to analyse the database of Cal.com, an open-source scheduling infrastructure.

Let's get started!

First off, let's upload the prisma.schema file into Nabubit.


We now have the visual representation of the tables in the database. Let's poke around a bit.


Let's start asking some questions. Like, how does it work?


Ok, what about the tables, how are they related to each other?


Cool, and what indexes are there?


These can serve as a good starting point to understand different parts of Cal.com database design, and there's much more you can do with Nabubit, go ahead and try it!

Happy Query-ing!