MealPlanCategories table

The MealPlanCategories table in the FitStack - V2 schema has 11 columns, keyed by Id, with 2 foreign keys to MealPlans and Users. 1 column in MealPlanDayItems references it.

Columns (11)

Columns of the MealPlanCategories table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
MealPlanIduuidnot null, references MealPlans.Id
UserIdtextnot null, references Users.Id
Nametextnot null
ColorHextextnot null
SortOrderintegernot null
TargetTimetime
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Relationships