ProgramWorkouts table
The ProgramWorkouts table in the FitStack - V2 schema has 12 columns, keyed by Id, with 2 foreign keys to ProgramDays and Workouts.
Columns (12)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| ProgramDayId | uuid | not null, references ProgramDays.Id | |
| WorkoutId | uuid | not null, references Workouts.Id | |
| Order | integer | not null | |
| ScheduledTime | time | ||
| RestPeriod | interval | ||
| SeriesId | uuid | Groups recurring instances generated from one rule. | |
| Notes | text | ||
| CreatedAt | timestamp with time zone | not null | |
| ModifiedAt | timestamp with time zone | ||
| IsDeleted | boolean | not null | |
| DeletedAt | timestamp with time zone |
Relationships
ProgramWorkouts.ProgramDayIdreferencesProgramDays.IdProgramWorkouts.WorkoutIdreferencesWorkouts.Id