archivo de configuracion de nginx agregado para el puerto 9000

This commit is contained in:
2026-05-02 16:57:29 -06:00
parent 2af36ea272
commit 881e67fb12
33 changed files with 2035 additions and 245 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ class Docente extends Model
// Relación con Material
public function materias(): BelongsToMany
{
return $this->belongsToMany(Material::class, 'docente_grupo')
return $this->belongsToMany(Material::class, 'docente_grupo', 'docente_id', 'materia_id')
->withPivot('grupo_id');
}
}