Explorer
home
/
zoteqbgb
/
public_html
/
vendor
/
spatie
/
laravel-medialibrary
/
database
/
migrations
Location:
/home/zoteqbgb/public_html/vendor/spatie/laravel-medialibrary/database/migrations
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: create_media_table.php.stub
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { public function up(): void { Schema::create('media', function (Blueprint $table) { $table->id(); $table->morphs('model'); $table->uuid('uuid')->nullable()->unique(); $table->string('collection_name'); $table->string('name'); $table->string('file_name'); $table->string('mime_type')->nullable(); $table->string('disk'); $table->string('conversions_disk')->nullable(); $table->unsignedBigInteger('size'); $table->json('manipulations'); $table->json('custom_properties'); $table->json('generated_conversions'); $table->json('responsive_images'); $table->unsignedInteger('order_column')->nullable()->index(); $table->nullableTimestamps(); }); } };
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
create_media_table.php.stub
1,038 bytes
0644
2023-11-03 17:09
âï¸
ðï¸
Rename
Chang
Apply