ProgramWeeks table
The ProgramWeeks table in the FitStack - V2 schema has 8 columns, keyed by Id, with 1 foreign key to Programs. 1 column in ProgramDays references it.
Columns (8)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| ProgramId | uuid | not null, references Programs.Id | |
| WeekNumber | integer | not null | |
| Notes | text | ||
| CreatedAt | timestamp with time zone | not null | |
| ModifiedAt | timestamp with time zone | ||
| IsDeleted | boolean | not null | |
| DeletedAt | timestamp with time zone |
Relationships
ProgramWeeks.ProgramIdreferencesPrograms.IdProgramDays.ProgramWeekIdreferencesProgramWeeks