added chart for displaying health metrix
This commit is contained in:
1 parent
a325919cd0
commit
87051e179d
22 files changed
+1383
-63
No files matched your search
@@ -11,6 +11,7 @@ class HealthRecord extends Model
|
||||
|
||||
protected $fillable = [
|
||||
'user_id',
|
||||
'height',
|
||||
'recorded_at',
|
||||
'weight',
|
||||
'body_fat_percentage',
|
||||
@@ -26,6 +27,7 @@ class HealthRecord extends Model
|
||||
|
||||
protected $casts = [
|
||||
'recorded_at' => 'date',
|
||||
'height' => 'decimal:2',
|
||||
'weight' => 'decimal:2',
|
||||
'body_fat_percentage' => 'decimal:2',
|
||||
'bmi' => 'decimal:2',
|
||||
|
||||
Reference in new issue
Block a user