Add running fitness history and configurable heart rate zones
This commit is contained in:
@@ -17,6 +17,7 @@ class User(UserMixin, db.Model):
|
||||
local_account_key = db.Column(db.String(64), unique=True)
|
||||
created_at = db.Column(db.DateTime(timezone=True), default=lambda: datetime.now(UTC))
|
||||
hr_bands = db.Column(db.JSON)
|
||||
hr_zones = db.Column(db.JSON)
|
||||
activities = db.relationship(
|
||||
"Activity", backref="owner", lazy="select", cascade="all, delete-orphan"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user