kopia lustrzana https://github.com/pixelfed/pixelfed
Merge pull request #4972 from pixelfed/staging
Update ProfileMigration model, add target relationpull/4982/head
commit
a9b99d8f9d
|
@ -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