MealPlanDayItems table

The MealPlanDayItems table in the FitStack - V2 schema has 15 columns, keyed by Id, with 5 foreign keys to MealPlans, MealPlanCategories, Meals, Recipes and 1 more.

Exactly one of MealId / RecipeId / ProductId should be set. Not enforced.

Columns (15)

Columns of the MealPlanDayItems table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
MealPlanIduuidnot null, references MealPlans.Id
CategoryIduuidnot null, references MealPlanCategories.Id
MealIduuidreferences Meals.Id
RecipeIduuidreferences Recipes.Id
ProductIduuidreferences Products.Id
DayOffsetintegernot null
ScheduledTimetime
SortOrderintegernot null
SeriesIduuid
Notestext
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Relationships