archivo de configuracion de nginx agregado para el puerto 9000
This commit is contained in:
@@ -3,17 +3,13 @@
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
|
||||
|
||||
class Tarea extends Model
|
||||
{
|
||||
protected $guarded = [];
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
// Relación con Carrera
|
||||
public function carreraMaterial(): BelongsToMany
|
||||
{
|
||||
return $this->belongsToMany(Carrera::class);
|
||||
}
|
||||
public function material() { return $this->belongsTo(Material::class); }
|
||||
public function grupo() { return $this->belongsTo(Grupo::class); }
|
||||
public function docente() { return $this->belongsTo(Docente::class); }
|
||||
public function entregas() { return $this->hasMany(Entrega::class); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user