# Follow

**Kind:** Database Model

**Source:** [`atloria-monorepo/apps/parser-orchestrator/test/fixtures/sample-projects/fullstack-nextjs-nestjs/backend/prisma/schema.prisma`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/parser-orchestrator/test/fixtures/sample-projects/fullstack-nextjs-nestjs/backend/prisma/schema.prisma#L108)

Follow relationship between users

## Fields

| Field | Type | Required | Key |
|---|---|---|---|
| `id` | `String` | ✓ | PK |
| `followerId` | `String` | ✓ |  |
| `followingId` | `String` | ✓ |  |
| `createdAt` | `DateTime` | ✓ |  |

## Diagram

```mermaid
erDiagram
    Follow {
        id String [PK]
        followerId String
        followingId String
        createdAt DateTime
    }
    Follow ||--|| User : "followerId"
    Follow ||--|| User : "followingId"
```

## Relationships

- BELONGS_TO → `User`
- BELONGS_TO → `User`

## Referenced By

- `User` (HAS_MANY)
- `User` (HAS_MANY)
