cleaned up models which are no longer utilized
This commit is contained in:
@@ -6,6 +6,11 @@ use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class UserPermission extends Model
|
||||
{
|
||||
/**
|
||||
* Database Table
|
||||
*/
|
||||
protected $table = 'user_permissions';
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable
|
||||
*
|
||||
@@ -16,7 +21,7 @@ class UserPermission extends Model
|
||||
'permission',
|
||||
];
|
||||
|
||||
protected $table = 'user_permissions';
|
||||
|
||||
|
||||
public function user() {
|
||||
return $this->belongsTo(User::class);
|
||||
|
||||
Reference in New Issue
Block a user