up
This commit is contained in:
@@ -18,6 +18,6 @@ class CompatibilidadDgo extends Model
|
|||||||
|
|
||||||
public function historial()
|
public function historial()
|
||||||
{
|
{
|
||||||
return $this->belongsTo(Historiale::class);
|
return $this->belongsTo(Historiale::class, 'historial_id');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -55,6 +55,6 @@ class Historiale extends Model
|
|||||||
|
|
||||||
public function compatibilidadDgo()
|
public function compatibilidadDgo()
|
||||||
{
|
{
|
||||||
return $this->hasOne(CompatibilidadDgo::class);
|
return $this->hasOne(CompatibilidadDgo::class, 'historial_id');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user