Update
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user