NutriScanTasks table

The NutriScanTasks table in the FitStack - V2 schema has 12 columns, keyed by Id, with 1 foreign key to NutriScanJobs.

One inference task per bounding-box category. The unique index makes retries idempotent. DbSet is named `ScanTasks`.

Columns (12)

Columns of the NutriScanTasks table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
NutriScanJobIduuidnot null, references NutriScanJobs.Id
CorrelationIduuidnot null
Statustextnot null
BoundingBoxCategorytextnot null
ResultJsonjsonb
Errorcharacter varying(1000)
CompletedAttimestamp with time zone
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Indexes (1)

  • (NutriScanJobId, BoundingBoxCategory) unique (IX_NutriScanTasks_NutriScanJobId_BoundingBoxCategory)

Relationships