Merge pull request #4972 from pixelfed/staging

Update ProfileMigration model, add target relation
pull/4982/head
daniel 2024-03-05 00:30:22 -07:00 zatwierdzone przez GitHub
commit a9b99d8f9d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
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');
}
}