kopia lustrzana https://github.com/pixelfed/pixelfed
				
				
				
			Update Media model
							rodzic
							
								
									d7b6edc018
								
							
						
					
					
						commit
						d0bfefe8d0
					
				|  | @ -18,6 +18,10 @@ class Media extends Model | |||
|      */ | ||||
|     protected $dates = ['deleted_at']; | ||||
| 
 | ||||
|     protected $casts = [ | ||||
|     	'srcset' => 'array' | ||||
|     ]; | ||||
| 
 | ||||
|     public function status() | ||||
|     { | ||||
|         return $this->belongsTo(Status::class); | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Daniel Supernault
						Daniel Supernault