MealPlanDays table
The MealPlanDays table in the FitStack - V2 schema has 8 columns, keyed by Id, with 1 foreign key to MealPlans.
Columns (8)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| MealPlanId | uuid | not null, references MealPlans.Id | |
| DayOffset | integer | not null | |
| Title | text | ||
| CreatedAt | timestamp with time zone | not null | |
| ModifiedAt | timestamp with time zone | ||
| IsDeleted | boolean | not null | |
| DeletedAt | timestamp with time zone |
Indexes (1)
(MealPlanId, DayOffset)unique (IX_MealPlanDays_MealPlanId_DayOffset)
Relationships
MealPlanDays.MealPlanIdreferencesMealPlans.Id