This commit is contained in:
ct
2025-06-13 09:44:18 +08:00
parent 8d6e86ebb3
commit 2fd4d42aec
54 changed files with 9917 additions and 184 deletions

View File

@@ -25,6 +25,7 @@ public function up(): void
$table->string('file_name');
$table->string('file_path');
$table->string('disk');
$table->string('uploaded_url')->nullable();
$table->timestamps();

View File

@@ -18,24 +18,14 @@ public function up(): void
$table->string('name');
$table->text('description');
$table->string('keywords');
$table->uuid('media_1_uuid');
$table->uuid('media_2_uuid')->nullable();
$table->enum('media_1_mime_type', [
'image/jpeg',
'image/png',
'image/gif',
'image/webp',
'video/mp4',
'video/webm'
]);
$table->enum('media_2_mime_type', [
'image/jpeg',
'image/png',
'image/gif',
'image/webp',
'video/mp4',
'video/webm'
])->nullable();
$table->uuid('mov_uuid');
$table->uuid('webm_uuid');
$table->uuid('gif_uuid');
$table->uuid('webp_uuid');
$table->string('mov_url');
$table->string('webm_url');
$table->string('gif_url');
$table->string('webp_url');
$table->vector('embedding', 384)->nullable();
$table->timestamps();
$table->softDeletes();