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 prisma.schema prisma.sql.schema
cp schema.mongodb.prisma prisma.schema

To learn more about the Prisma usage with MongoDB check the official documentation.

Last updated