# ProjectDocsRepo

**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#L1864)

## Fields

| Field | Type | Required | Key |
|---|---|---|---|
| `id` | `String` | ✓ | PK |
| `projectId` | `String` | ✓ | unique |
| `headCommit` | `String` | - |  |
| `status` | `String` | ✓ |  |
| `requireReview` | `Boolean` | - |  |
| `lastReconcileAt` | `DateTime` | - |  |
| `createdAt` | `DateTime` | ✓ |  |
| `updatedAt` | `DateTime` | ✓ |  |

## Diagram

```mermaid
erDiagram
    ProjectDocsRepo {
        id String [PK]
        projectId String [UNIQUE]
        headCommit String?
        status String
        requireReview Boolean?
        lastReconcileAt DateTime?
        createdAt DateTime
        updatedAt DateTime
    }
    ProjectDocsRepo ||--|| Project : ""
```

## Relationships

- HAS_ONE → `Project`
