Add attachment thumbnails and ACP refinements
This commit is contained in:
@@ -33,6 +33,9 @@ class Attachment extends Model
|
||||
'user_id',
|
||||
'disk',
|
||||
'path',
|
||||
'thumbnail_path',
|
||||
'thumbnail_mime_type',
|
||||
'thumbnail_size_bytes',
|
||||
'original_name',
|
||||
'extension',
|
||||
'mime_type',
|
||||
@@ -41,6 +44,7 @@ class Attachment extends Model
|
||||
|
||||
protected $casts = [
|
||||
'size_bytes' => 'int',
|
||||
'thumbnail_size_bytes' => 'int',
|
||||
];
|
||||
|
||||
public function thread(): BelongsTo
|
||||
|
||||
Reference in New Issue
Block a user