all models into model folder

This commit is contained in:
Arno Kaimbacher 2018-09-10 15:09:10 +02:00
parent 98f50a2b6f
commit 6990469c67
46 changed files with 325 additions and 203 deletions

View file

@ -17,7 +17,7 @@ class Book extends Model
public function project()
{
return $this->belongsTo('App\Project', 'project_id', 'id');
return $this->belongsTo('App\Models\Project', 'project_id', 'id');
}
// public function shelf()