Based on SQL error you are missing pivot table. I do not think it is prefix issue. Check your schema
Nope, the schema is fine. Taylors comment in the issue #1590 is the solution. You simply have to add the name with the prefix like:
public function endpoints(){ return $this->belongsToMany('Endpoint', 'guestservice_endpoint_guest'); }
well, this is not really prefix issue. You want to use table that does not confirm to laravel's naming conventions. And this is very well documented here http://laravel.com/docs/eloquent#many-to-many
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community