Datasets table

The Datasets table in the FitStack - V2 schema has 11 columns, keyed by Id. 2 columns in DatasetImages and DatasetVersions reference it.

No DbSet-level FK to Users — the ML schema deliberately keeps only denormalised identity.

Columns (11)

Columns of the Datasets table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
Nametextnot null
Descriptiontext
TotalImagesintegernot null
AnnotatedImagesintegernot null
CreatedByUserIdtext
CreatedByEmailtextDenormalised alongside the id, so an audit row survives a user deletion.
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Relationships