FitnessPlanMealItems table
The FitnessPlanMealItems table in the FitStack - V2 schema has 13 columns, keyed by Id, with 2 foreign keys to FitnessPlans and Meals.
Columns (13)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| FitnessPlanId | uuid | not null, references FitnessPlans.Id | |
| MealId | uuid | not null, references Meals.Id | |
| MealType | integer | not null | |
| DayOffset | integer | not null | |
| ScheduledTime | time | ||
| SortOrder | integer | not null | |
| SeriesId | uuid | ||
| Notes | text | ||
| CreatedAt | timestamp with time zone | not null | |
| ModifiedAt | timestamp with time zone | ||
| IsDeleted | boolean | not null | |
| DeletedAt | timestamp with time zone |
Relationships
FitnessPlanMealItems.FitnessPlanIdreferencesFitnessPlans.IdFitnessPlanMealItems.MealIdreferencesMeals.Id