FitnessPlanDays table
The FitnessPlanDays table in the FitStack - V2 schema has 8 columns, keyed by Id, with 1 foreign key to FitnessPlans.
Columns (8)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| FitnessPlanId | uuid | not null, references FitnessPlans.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)
(FitnessPlanId, DayOffset)unique (IX_FitnessPlanDays_FitnessPlanId_DayOffset)
Relationships
FitnessPlanDays.FitnessPlanIdreferencesFitnessPlans.Id