Fix envío reset password con notificación directa

This commit is contained in:
2026-02-25 09:29:43 -06:00
parent 2533af98c8
commit 969360c1ed
17 changed files with 512 additions and 67 deletions
+7
View File
@@ -2,11 +2,18 @@
namespace App\Models;
use App\Models\User;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class Horario extends Model
{
protected $guarded = [];
public $timestamps = false;
public function user(): BelongsTo
{
return $this->belongsTo(User::class);
}
}
+5
View File
@@ -69,6 +69,11 @@ class User extends Authenticatable
return $this->hasMany(Note::class);
}
public function horarios() : HasMany
{
return $this->hasMany(Horario::class);
}
public function codes() : HasMany
{
return $this->hasMany(Code::class);