MongoDB
Use a NoSQL database
With the Prisma ORM you can use MongoDB as your main database.
However, there are small differences in the way the schema needs to be defined.
MongoDB Prisma Schema
Shipped provides you with a prisma.schema
file suitable for MongoDB.
Simply replace the prisma.schema
with prisma.mongodb.schema
cd prisma
mv schema.prisma schema.sql.prisma
cp schema.mongodb.prisma schema.prisma
Last updated
Was this helpful?