add Rainfalls Index page

This commit is contained in:
Romulus21
2023-09-14 23:20:29 +02:00
parent 42f03707d9
commit 4a733929ed
11 changed files with 177 additions and 26 deletions

View File

@@ -12,6 +12,10 @@ class Rainfall extends Model
protected $guarded = [];
protected $casts = [
'date' => 'date',
];
public function user(): BelongsTo
{
return $this->belongsTo(User::class);