id(); $table->timestamps(); $table->string('path'); $table->string('filename'); $table->string('mimetype'); $table->unsignedBigInteger('filesize'); $table->string('hash')->unique(); $table->string('uploaded_by')->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('files'); } };