NutriScanJobs table

The NutriScanJobs table in the FitStack - V2 schema has 18 columns, keyed by Id, with 2 foreign keys to ProductSessions and ProductImages. 1 column in NutriScanTasks references it.

Columns (18)

Columns of the NutriScanJobs table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
CorrelationIduuidnot null
ProductCreationSessionIduuidnot null, references ProductSessions.Id
ProductImageIduuidnot null, references ProductImages.Id
Statustextnot null`NutriScanStatus` as TEXT.
GcsImagePathcharacter varying(500)not null
PendingBarcodeTaskbooleannot null
PendingIngredientsTaskbooleannot null
PendingNutritionTaskbooleannot null
PendingBrandingTaskbooleannot null
CompletedAttimestamp with time zone
ErrorMessagecharacter varying(1000)
RetryCountintegernot null
LastRetryTimestamptimestamp with time zone
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Indexes (3)

  • (CorrelationId) (IX_NutriScanJobs_CorrelationId)
  • (ProductCreationSessionId) (IX_NutriScanJobs_ProductCreationSessionId)
  • (ProductImageId) (IX_NutriScanJobs_ProductImageId)

Relationships