ProductValidationIssues table
The ProductValidationIssues table in the FitStack - V2 schema has 14 columns, keyed by Id, with 1 foreign key to Products.
Columns (14)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| ProductId | uuid | not null, references Products.Id | |
| ProductVersionId | uuid | ||
| FieldName | character varying(64) | not null | |
| IssueType | character varying(64) | not null | |
| Severity | character varying(16) | not null | |
| Message | character varying(500) | not null | |
| IsResolved | boolean | not null | |
| ResolvedAt | timestamp with time zone | ||
| ResolvedBy | character varying(100) | ||
| CreatedAt | timestamp with time zone | not null | |
| ModifiedAt | timestamp with time zone | ||
| IsDeleted | boolean | not null | |
| DeletedAt | timestamp with time zone |
Indexes (2)
(ProductId, IsResolved)(IX_ProductValidationIssues_ProductId_IsResolved)(IsResolved, Severity)(IX_ProductValidationIssues_IsResolved_Severity)
Relationships
ProductValidationIssues.ProductIdreferencesProducts.Id