mirror of https://github.com/kcal-app/kcal.git
Cast Goal User ID as int
This commit is contained in:
parent
ef096492d4
commit
7daeab4c44
|
|
@ -74,6 +74,8 @@ final class Goal extends Model
|
|||
'fat' => 'float',
|
||||
'protein' => 'float',
|
||||
'sodium' => 'float',
|
||||
// @todo Determine why `user_id` is a string and fix it.
|
||||
'user_id' => 'int',
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue