MealPlanDays table

The MealPlanDays table in the FitStack - V2 schema has 8 columns, keyed by Id, with 1 foreign key to MealPlans.

Columns (8)

Columns of the MealPlanDays table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
MealPlanIduuidnot null, references MealPlans.Id
DayOffsetintegernot null
Titletext
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Indexes (1)

  • (MealPlanId, DayOffset) unique (IX_MealPlanDays_MealPlanId_DayOffset)

Relationships