Update ProfileMigration model, add target relation

pull/4972/head
Daniel Supernault 2024-03-05 00:29:37 -07:00
rodzic 4a6be62128
commit 3f0539978e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 23740873EE6F76A1
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -16,4 +16,9 @@ class ProfileMigration extends Model
{
return $this->belongsTo(Profile::class, 'profile_id');
}
public function target()
{
return $this->belongsTo(Profile::class, 'target_profile_id');
}
}