mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-14 10:34:31 +00:00
22 lines
321 B
PHP
22 lines
321 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class MediaTag extends Model
|
|
{
|
|
protected $guarded = [];
|
|
|
|
protected $visible = [
|
|
'status_id',
|
|
'profile_id',
|
|
'tagged_username',
|
|
];
|
|
|
|
public function status()
|
|
{
|
|
return $this->belongsTo(Status::class);
|
|
}
|
|
}
|