mirror of https://github.com/pixelfed/pixelfed
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			25 lines
		
	
	
		
			429 B
		
	
	
	
		
			PHP
		
	
			
		
		
	
	
			25 lines
		
	
	
		
			429 B
		
	
	
	
		
			PHP
		
	
<?php
 | 
						|
 | 
						|
namespace App;
 | 
						|
 | 
						|
use Illuminate\Database\Eloquent\Model;
 | 
						|
use Illuminate\Database\Eloquent\SoftDeletes;
 | 
						|
 | 
						|
class Avatar extends Model
 | 
						|
{
 | 
						|
    use SoftDeletes;
 | 
						|
 | 
						|
    /**
 | 
						|
     * The attributes that should be mutated to dates.
 | 
						|
     *
 | 
						|
     * @var array
 | 
						|
     */
 | 
						|
    protected $dates = ['deleted_at'];
 | 
						|
    protected $fillable = ['profile_id'];
 | 
						|
 | 
						|
    public function profile()
 | 
						|
    {
 | 
						|
    	return $this->belongsTo(Profile::class);
 | 
						|
    }
 | 
						|
}
 |