Nutrition table
The Nutrition table in the FitStack - V2 schema has 62 columns, keyed by Id. 1 column in Products references it.
SINGULAR table name. 47 nutrient columns, all nullable — a label states only what it states.
Columns (62)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| Calories | numeric(18,4) | ||
| TotalFat | numeric(18,4) | ||
| SaturatedFat | numeric(18,4) | ||
| TransFat | numeric(18,4) | ||
| Cholesterol | numeric(18,4) | ||
| Sodium | numeric(18,4) | ||
| TotalCarbohydrate | numeric(18,4) | ||
| DietaryFiber | numeric(18,4) | ||
| TotalSugars | numeric(18,4) | ||
| AddedSugars | numeric(18,4) | ||
| Protein | numeric(18,4) | ||
| VitaminD | numeric(18,4) | ||
| Calcium | numeric(18,4) | ||
| Iron | numeric(18,4) | ||
| Potassium | numeric(18,4) | ||
| CaloriesFromSaturatedFat | numeric(18,4) | ||
| CaloriesFromFat | numeric(18,4) | ||
| OtherCarbohydrate | numeric(18,4) | ||
| MonounsaturatedFat | numeric(18,4) | ||
| PolyunsaturatedFat | numeric(18,4) | ||
| SolubleFiber | numeric(18,4) | ||
| InsolubleFiber | numeric(18,4) | ||
| SugarAlcohols | numeric(18,4) | ||
| VitaminA | numeric(18,4) | ||
| VitaminC | numeric(18,4) | ||
| VitaminE | numeric(18,4) | ||
| VitaminK | numeric(18,4) | ||
| Thiamin | numeric(18,4) | ||
| Riboflavin | numeric(18,4) | ||
| Niacin | numeric(18,4) | ||
| VitaminB6 | numeric(18,4) | ||
| Folate | numeric(18,4) | ||
| VitaminB12 | numeric(18,4) | ||
| Biotin | numeric(18,4) | ||
| PantothenicAcid | numeric(18,4) | ||
| Choline | numeric(18,4) | ||
| Phosphorus | numeric(18,4) | ||
| Iodine | numeric(18,4) | ||
| Magnesium | numeric(18,4) | ||
| Zinc | numeric(18,4) | ||
| Selenium | numeric(18,4) | ||
| Copper | numeric(18,4) | ||
| Manganese | numeric(18,4) | ||
| Chromium | numeric(18,4) | ||
| Molybdenum | numeric(18,4) | ||
| Chloride | numeric(18,4) | ||
| Fluoride | numeric(18,4) | ||
| ServingSize | character varying(100) | ||
| ServingsPerContainer | numeric(18,4) | ||
| ServingSizeGrams | numeric(18,4) | ||
| Confidence | numeric(18,4) | ||
| ReferenceImagePath | character varying(500) | not null | |
| IsVerified | boolean | not null | |
| VerifiedDate | timestamp with time zone | ||
| VerifiedBy | character varying(100) | ||
| DataSource | character varying(50) | ||
| OriginalText | text | Raw OCR text the values were parsed from — the audit trail for a nutrition correction. | |
| CreatedAt | timestamp with time zone | not null | |
| ModifiedAt | timestamp with time zone | ||
| IsDeleted | boolean | not null | |
| DeletedAt | timestamp with time zone |
Relationships
Products.NutritionIdreferencesNutrition