forked from eatvio/eatvio-infra
04 10 2023 snapshot
This commit is contained in:
@@ -11,6 +11,9 @@ class Diary extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
// protected $casts = ['date' => 'datetime:d-m-Y'];
|
||||
// protected $dateFormat = 'd-m-Y';
|
||||
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo(User::class)->withDefault([
|
||||
|
||||
Reference in New Issue
Block a user