id(); $table->string('filename', 512); $table->string('disk')->default('public'); $table->text('path'); $table->text('url')->nullable(); $table->bigInteger('size'); $table->string('mime_type', 255); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('media'); } };