corregida busqueda de usuarios. también el mail obligatorio y borrar los chat departaments con soft delete

This commit is contained in:
2024-12-09 19:44:44 +01:00
parent d9d3bd69c0
commit 719455567e
6 changed files with 257 additions and 32 deletions

View File

@ -11,7 +11,7 @@ class ChatDeparmentUserModel extends Model
protected $primaryKey = 'id';
protected $useAutoIncrement = true;
protected $returnType = 'array';
protected $useSoftDeletes = false;
protected $useSoftDeletes = true;
protected $protectFields = true;
protected $allowedFields = [
"chat_department_id",