One issue I am having is that intellesense is updating your classes automatically but mine is not so errors get thrown because references are missing at the top of the page. Might want to mention that for beginners - make sure the references are there ie. in the user model make sure that use Illuminate\Database\Eloquent\Relations\HasMany; is there
23 Relationships - Laravel 11 tutorial for beginners.
hey bro thank you a lot
One issue I am having is that intellesense is updating your classes automatically but mine is not so errors get thrown because references are missing at the top of the page. Might want to mention that for beginners - make sure the references are there ie. in the user model make sure that use Illuminate\Database\Eloquent\Relations\HasMany; is there