# MongoDB

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`

{% code title="terminal" %}

```bash
cd prisma
mv schema.prisma schema.sql.prisma
cp schema.mongodb.prisma schema.prisma
```

{% endcode %}

{% hint style="info" %}
To learn more about the Prisma usage with MongoDB check the [official documentation](https://www.prisma.io/docs/orm/overview/databases/mongodb#differences-to-consider).
{% endhint %}
