Auth, models, controllers and migrations scaffolding

This commit is contained in:
2021-09-04 22:09:55 +02:00
parent 643ed368e8
commit 1b8e76b183
37 changed files with 246776 additions and 8 deletions

View File

@@ -41,4 +41,9 @@ class User extends Authenticatable
protected $casts = [
'email_verified_at' => 'datetime',
];
public function list()
{
return $this->hasMany(BeerList::class);
}
}