Refactor Plans + Workouts #102
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: brandon.presley/Massive#102
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Plans and workouts currently store values as comma delimited strings.
This makes it hard to have
StartPlan
query the daily count of workouts, without losing the order in which the plan was made.There are also some other consequences of doing it in this way, like data inconsistency when updating plans.
We should try instead using join tables and having a many to many relationship for Plans -> Sets
Not sure this ended up saving us anything on performance so I'll close this for now.