Laravel Relationship Between Tables

Solution:

In your User model

public function roles()
{
    return $this->hasOne('Role', 'id', 'RoleId');
}

In your Role model

public function users()
{
    return $this->belongsTo('User', 'RoleId', 'id);
}