diff options
| author | stilbruch <stilbruch@protonmail.com> | 2022-04-30 12:56:15 -0500 |
|---|---|---|
| committer | stilbruch <stilbruch@protonmail.com> | 2022-04-30 12:56:15 -0500 |
| commit | 11ca7472f0736ed7f7cc4447f8fa59cd8765eb2f (patch) | |
| tree | 0d8a360753d97077171d087fac131b5e50c6906b /app/tables/user.py | |
| parent | 509a7bd8955138b2ff864dd75059d397b3fbb31e (diff) | |
| download | Strengthy-11ca7472f0736ed7f7cc4447f8fa59cd8765eb2f.tar.xz Strengthy-11ca7472f0736ed7f7cc4447f8fa59cd8765eb2f.zip | |
Start workout history page
Diffstat (limited to 'app/tables/user.py')
| -rw-r--r-- | app/tables/user.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/tables/user.py b/app/tables/user.py index 483e56f..00457e6 100644 --- a/app/tables/user.py +++ b/app/tables/user.py @@ -19,6 +19,7 @@ class User(db.Model, UserMixin): # relationships workouts = db.relationship("Workout", backref="user", lazy="dynamic") + records = db.relationship("WorkoutRecord", backref="user", lazy="dynamic") def __init__(self, username, password, email): self.username = username |
