belongsTo(User::class, 'user_id'); } public function beer() { return $this->hasMany(Beer::class); } }