Kind: Database Model
Source: atloria-monorepo/libs/database/prisma/schema.prisma
Fields
| Field | Type | Required | Key |
|---|---|---|---|
id | String | ✓ | PK |
jobId | String | ✓ | |
pageId | String | - | |
projectId | String | ✓ | |
assetType | String | ✓ | |
sectionType | String | - | |
prompt | String | - | |
url | String | ✓ | |
cdnUrl | String | - | |
width | Int | ✓ | |
height | Int | ✓ | |
format | String | ✓ | |
sizeBytes | Int | ✓ | |
metadata | Json | - | |
createdAt | DateTime | ✓ | |
updatedAt | DateTime | ✓ |
Diagram
mermaiderDiagram PmeGeneratedAsset { id String [PK] jobId String pageId String? projectId String assetType String sectionType String? prompt String? url String cdnUrl String? width Int height Int format String sizeBytes Int metadata Json? createdAt DateTime updatedAt DateTime } PmeGeneratedAsset ||--|| PmeGenerationJob : "" PmeGeneratedAsset ||--|| PmeGeneratedPage : "" PmeGeneratedAsset ||--|| Project : ""
Relationships
- HAS_ONE →
PmeGenerationJob - HAS_ONE →
PmeGeneratedPage - HAS_ONE →
Project
Was this page helpful?