MuscleRecoverySummaries table
The MuscleRecoverySummaries table in the FitStack - V2 schema has 11 columns, keyed by Id, with 2 foreign keys to Users and Muscles.
Current state, one row per user-muscle. No audit columns.
Columns (11)
| Column | Type | Constraints | Description |
|---|---|---|---|
| Id | uuid | primary key, not null | |
| UserId | text | not null, references Users.Id | |
| MuscleId | text | not null, references Muscles.Id | |
| LastUsed | timestamp with time zone | not null | |
| RecentExerciseCount | integer | not null | |
| RecoveryPercentage | double precision | not null | |
| RecoveryStatus | integer | not null | `RecoveryStatus` — Exhausted, Fatigued, Recovering, Ready. |
| UsageFrequency | integer | not null | |
| RecommendedRecoveryTime | interval | not null | |
| EstimatedRecoveryCompletionTime | timestamp with time zone | not null | |
| UpdatedAt | timestamp with time zone | not null |
Indexes (1)
(UserId, MuscleId)unique (IX_MuscleRecoverySummaries_UserId_MuscleId)
Relationships
MuscleRecoverySummaries.UserIdreferencesUsers.IdMuscleRecoverySummaries.MuscleIdreferencesMuscles.Id