cleaned up models which are no longer utilized

This commit is contained in:
2021-02-12 14:35:57 +09:00
parent dd5c1f4c2d
commit a818452857
21 changed files with 27 additions and 620 deletions
+6 -1
View File
@@ -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);