<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Role extends Model
{
    protected $fillable = ['name', 'description'];
    public function assignments()
    {
    	return $this->hasMany('app\Assignment');
    }
}

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Role extends Model
{
    protected $fillable = ['name', 'description'];
    public function assignments()
    {
        return $this->hasMany('app\Assignment');
    }
}

Create relationship for roles table
refactor(roles): Create relationship for roles table

modified:   app/Role.php

see #97
