Recipes table

The Recipes table in the FitStack - V2 schema has 20 columns, keyed by Id, with 1 foreign key to Users. 5 columns in Meals, MealLogs, MealPlanDayItems, NutritionLogs and 1 more reference it.

Columns (20)

Columns of the Recipes table
ColumnTypeConstraintsDescription
Iduuidprimary key, not null
UserIdtextreferences Users.Id
Nametextnot null
Descriptiontext
Instructionstext
Servingsnumericnot null
PrepTimeMinutesinteger
CookTimeMinutesinteger
CaloriesPerServingnumeric
ProteinPerServingnumeric
CarbsPerServingnumeric
FatPerServingnumeric
FiberPerServingnumeric
SugarPerServingnumeric
Tagstext
IsPublicbooleannot null
CreatedAttimestamp with time zonenot null
ModifiedAttimestamp with time zone
IsDeletedbooleannot null
DeletedAttimestamp with time zone

Relationships