#####About BetaUp It's a basic package which let's you set-up pre-launch website fast and easy. Afte...
Trying to be as active as on the old forum I found out it's kind of hard to keep track of topics we...
Well, here is the problem. Find() function is looking for ID column in your posts table, but it's no...
Personally I would go with Many-to-Many relations, the most versatile. I don't play golf, so don't r...
Well, I think you will have problem with User<>Post relation later with wrong foreign key (unl...
public function comments() { return $this->hasMany('Comment','comment_id'); } Has many Comment,...
The Laravel portal for problem solving, knowledge sharing and community building.