# DocsPrConfig

**Kind:** Database Model

**Source:** [`atloria-monorepo/libs/database/prisma/schema.prisma`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/database/prisma/schema.prisma#L1809)

## Fields

| Field | Type | Required | Key |
|---|---|---|---|
| `id` | `String` | ✓ | PK |
| `projectId` | `String` | ✓ | unique |
| `enabled` | `Boolean` | ✓ |  |
| `provider` | `String` | ✓ |  |
| `targetBranch` | `String` | - |  |
| `docsPathPrefix` | `String` | ✓ |  |
| `writeMode` | `String` | ✓ |  |
| `rung2Enabled` | `Boolean` | ✓ |  |
| `createdAt` | `DateTime` | ✓ |  |
| `updatedAt` | `DateTime` | ✓ |  |

## Diagram

```mermaid
erDiagram
    DocsPrConfig {
        id String [PK]
        projectId String [UNIQUE]
        enabled Boolean
        provider String
        targetBranch String?
        docsPathPrefix String
        writeMode String
        rung2Enabled Boolean
        createdAt DateTime
        updatedAt DateTime
    }
    DocsPrConfig ||--|| Project : ""
```

## Relationships

- HAS_ONE → `Project`
