调整数据库表的单复数
This commit is contained in:
@@ -11,7 +11,7 @@ class Department extends Model
|
||||
{
|
||||
use ModelTrait, SoftDeletes;
|
||||
|
||||
protected $table = 'auth_departments';
|
||||
protected $table = 'auth_department';
|
||||
|
||||
protected $fillable = [
|
||||
'name',
|
||||
|
||||
@@ -11,7 +11,7 @@ class Permission extends Model
|
||||
{
|
||||
use ModelTrait, SoftDeletes;
|
||||
|
||||
protected $table = 'auth_permissions';
|
||||
protected $table = 'auth_permission';
|
||||
|
||||
protected $fillable = [
|
||||
'title',
|
||||
|
||||
@@ -11,7 +11,7 @@ class Role extends Model
|
||||
{
|
||||
use ModelTrait, SoftDeletes;
|
||||
|
||||
protected $table = 'auth_roles';
|
||||
protected $table = 'auth_role';
|
||||
|
||||
protected $fillable = [
|
||||
'name',
|
||||
|
||||
@@ -14,7 +14,7 @@ class User extends Authenticatable implements JWTSubject
|
||||
{
|
||||
use ModelTrait, SoftDeletes;
|
||||
|
||||
protected $table = 'auth_users';
|
||||
protected $table = 'auth_user';
|
||||
|
||||
protected $fillable = [
|
||||
'username',
|
||||
|
||||
Reference in New Issue
Block a user