@extends can't be indented, you can't put anything before it even whitespace.
Something like... <?php class User extends Eloquent { public function ownedProjects() {...
You can choose to do 2 relationships, a many-to-many and a one-to-many. Or use a single relationship...
I think only you can do is entirely turn off constraint checks temporarily. <?php DB::statement('...
The Laravel portal for problem solving, knowledge sharing and community building.
The community