# ReaderAccount

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

## Fields

| Field | Type | Required | Key |
|---|---|---|---|
| `id` | `String` | ✓ | PK |
| `email` | `String` | ✓ | unique |
| `createdAt` | `DateTime` | ✓ |  |
| `lastSeenAt` | `DateTime` | - |  |
| `profiles` | `ReaderProjectProfile[]` | ✓ |  |
| `keys` | `ReaderApiKey[]` | ✓ |  |

## Diagram

```mermaid
erDiagram
    ReaderAccount {
        id String [PK]
        email String [UNIQUE]
        createdAt DateTime
        lastSeenAt DateTime?
        profiles ReaderProjectProfile[]
        keys ReaderApiKey[]
    }
```

## Referenced By

- `ReaderProjectProfile` (HAS_ONE)
- `ReaderApiKey` (HAS_ONE)
