# ChangelogSubscription

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

## Fields

| Field | Type | Required | Key |
|---|---|---|---|
| `id` | `String` | ✓ | PK |
| `projectId` | `String` | ✓ |  |
| `email` | `String` | ✓ |  |
| `status` | `String` | ✓ |  |
| `confirmToken` | `String` | ✓ | unique |
| `unsubscribeToken` | `String` | ✓ | unique |
| `confirmedAt` | `DateTime` | - |  |
| `createdAt` | `DateTime` | ✓ |  |
| `updatedAt` | `DateTime` | ✓ |  |

## Diagram

```mermaid
erDiagram
    ChangelogSubscription {
        id String [PK]
        projectId String
        email String
        status String
        confirmToken String [UNIQUE]
        unsubscribeToken String [UNIQUE]
        confirmedAt DateTime?
        createdAt DateTime
        updatedAt DateTime
    }
```
