kopia lustrzana https://github.com/pixelfed/pixelfed
Update ProfileMigration model, add target relation
rodzic
4a6be62128
commit
3f0539978e
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue