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)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| Name | text | not null | |
| Description | text | ||
| TotalImages | integer | not null | |
| AnnotatedImages | integer | not null | |
| CreatedByUserId | text | ||
| CreatedByEmail | text | Denormalised alongside the id, so an audit row survives a user deletion. | |
| CreatedAt | timestamp with time zone | not null | |
| ModifiedAt | timestamp with time zone | ||
| IsDeleted | boolean | not null | |
| DeletedAt | timestamp with time zone |
Relationships
DatasetImages.DatasetIdreferencesDatasetsDatasetVersions.DatasetIdreferencesDatasets