# DocIssueActivity

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

## Fields

| Field | Type | Required | Key |
|---|---|---|---|
| `id` | `String` | ✓ | PK |
| `issueId` | `String` | ✓ |  |
| `actorId` | `String` | - |  |
| `action` | `String` | ✓ |  |
| `fromValue` | `String` | - |  |
| `toValue` | `String` | - |  |
| `metadata` | `Json` | - |  |
| `createdAt` | `DateTime` | ✓ |  |

## Diagram

```mermaid
erDiagram
    DocIssueActivity {
        id String [PK]
        issueId String
        actorId String?
        action String
        fromValue String?
        toValue String?
        metadata Json?
        createdAt DateTime
    }
    DocIssueActivity ||--|| DocIssueReport : ""
    DocIssueActivity ||--|| User : ""
```

## Relationships

- HAS_ONE → `DocIssueReport`
- HAS_ONE → `User`

## Referenced By

- `User` (HAS_ONE)
