se terminaron los modelos, faltan controlarlos con la IA
This commit is contained in:
@@ -7,7 +7,7 @@ use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
|
||||
class AccionLog extends Model
|
||||
{
|
||||
use hasFactory;
|
||||
use HasFactory;
|
||||
protected $table = 'accioneslogs';
|
||||
|
||||
protected $fillable = [
|
||||
@@ -18,7 +18,7 @@ protected $fillable = [
|
||||
|
||||
public function logSeguridad()
|
||||
{
|
||||
return $this->hasMany(LogSeguridad::class, 'accion_id');
|
||||
return $this->hasMany(LogSeguridad::class, 'accion_id', 'id');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user