> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shipkit.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Prisma

<img src="https://mintcdn.com/shipkit/HuQd_kWdB4hOr_Br/images/prisma.png?fit=max&auto=format&n=HuQd_kWdB4hOr_Br&q=85&s=aadfcda2f439b00db86d5110fa33022c" alt="Prisma" width="2400" height="700" data-path="images/prisma.png" />

Prisma in ShipKit enhances your database management with its powerful query builder and schema migration tools. It’s designed to work seamlessly in TypeScript environments, offering robust type safety and simplifying data access patterns across your application.

## Schema

The schema for Prisma is found in `prisma/schema.prisma`. This file contains the schema for the database tables and their relationships.

## Usage

```typescript theme={null}
import { prisma } from '~/core/db';

const user = await prisma.user.findUnique({
  where: {
    id: userId,
  },
});
```
