Add file attachment functionality to ticket messages

This commit is contained in:
2025-12-07 06:44:36 -05:00
parent 355f435fa1
commit 16c61494c8
5 changed files with 163 additions and 1 deletions

View File

@@ -16,6 +16,11 @@ class TicketMessage extends Model
'ticket_id',
'user_id',
'message',
'attachments',
];
protected $casts = [
'attachments' => 'array',
];
public function ticket()