add Meteo part

This commit is contained in:
Romulus21
2023-09-24 11:19:58 +02:00
parent bfaf82f264
commit 33b2044859
23 changed files with 429 additions and 31 deletions

View File

@@ -44,6 +44,11 @@ class User extends Authenticatable
'password' => 'hashed',
];
public function locations(): HasMany
{
return $this->hasMany(Location::class);
}
public function rainfalls(): HasMany
{
return $this->hasMany(Rainfall::class);