feat(attachments): add AttachmentType enum and update Attachment model to use it

This commit is contained in:
2026-06-25 14:44:44 -03:00
parent 9c5a29d933
commit 56b87f0c12
4 changed files with 81 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ return new class extends Migration
$table->uuid('key')->unique();
$table->string('path');
$table->string('filename');
$table->string('type')->nullable();
$table->string('type');
$table->string('mime_type');
$table->string('extension', 20)->nullable();
$table->unsignedBigInteger('size')->default(0);