Kind: Database Model
Source: atloria-monorepo/libs/database/prisma/schema.prisma
Fields
| Field | Type | Required | Key |
|---|---|---|---|
id | String | ✓ | PK |
baselineId | String | ✓ | |
currentId | String | ✓ | |
status | String | ✓ | |
diffPercentage | Float | ✓ | |
pixelsDifferent | Int | ✓ | |
diffAssetId | String | - | |
approved | Boolean | ✓ | |
approvedBy | String | - | |
approvedAt | DateTime | - | |
createdAt | DateTime | ✓ | |
updatedAt | DateTime | ✓ |
Diagram
mermaiderDiagram ScreenshotComparison { id String [PK] baselineId String currentId String status String diffPercentage Float pixelsDifferent Int diffAssetId String? approved Boolean approvedBy String? approvedAt DateTime? createdAt DateTime updatedAt DateTime } ScreenshotComparison ||--|| Screenshot : "" ScreenshotComparison ||--|| Screenshot : "" ScreenshotComparison ||--|| Asset : "" ScreenshotComparison ||--|| User : ""
Relationships
- HAS_ONE →
Screenshot - HAS_ONE →
Screenshot - HAS_ONE →
Asset - HAS_ONE →
User
Referenced By
User(HAS_ONE)Asset(HAS_ONE)Screenshot(HAS_ONE)Screenshot(HAS_ONE)
Was this page helpful?