This commit is contained in:
Lizandro Guarnizo
2026-06-18 12:33:26 -05:00
parent f12e78d5a0
commit 9167d7d6b3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -18,6 +18,6 @@ class CompatibilidadDgo extends Model
public function historial()
{
return $this->belongsTo(Historiale::class);
return $this->belongsTo(Historiale::class, 'historial_id');
}
}
+1 -1
View File
@@ -55,6 +55,6 @@ class Historiale extends Model
public function compatibilidadDgo()
{
return $this->hasOne(CompatibilidadDgo::class);
return $this->hasOne(CompatibilidadDgo::class, 'historial_id');
}
}