mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
trabajando en user y groups con el nuevo formato
This commit is contained in:
@ -1,36 +0,0 @@
|
||||
<?php
|
||||
namespace App\Models;
|
||||
|
||||
class UserModel extends BaseModel
|
||||
{
|
||||
protected $table = 'auth_user';
|
||||
protected $primaryKey = 'id_user';
|
||||
protected $allowedFields = [
|
||||
'group',
|
||||
'first_name',
|
||||
'last_name',
|
||||
'date_birth',
|
||||
'address',
|
||||
'city',
|
||||
'state',
|
||||
'country',
|
||||
'zip_code',
|
||||
'mobile',
|
||||
'email',
|
||||
'password',
|
||||
'last_ip',
|
||||
'last_access',
|
||||
'picture',
|
||||
'language',
|
||||
'tfa',
|
||||
'tfa_secret',
|
||||
'tfa_code',
|
||||
'blocked',
|
||||
'email_confirmed',
|
||||
'token',
|
||||
'status'
|
||||
];
|
||||
protected $useTimestamps = true;
|
||||
protected $createdField = 'created_at';
|
||||
protected $updatedField = 'updated_at';
|
||||
}
|
||||
Reference in New Issue
Block a user