feat: add the admin controller and update the model
This commit is contained in:
@@ -9,7 +9,7 @@ namespace App\Models;
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
/**
|
||||
* Class Admin
|
||||
*
|
||||
@@ -26,6 +26,7 @@ use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||
*/
|
||||
class Admin extends Authenticatable
|
||||
{
|
||||
use SoftDeletes;
|
||||
protected $table = 'admins';
|
||||
|
||||
protected $hidden = [
|
||||
|
||||
Reference in New Issue
Block a user