id(); $table->string('path'); $table->string('md5')->nullable(); $table->foreignId('record_id')->constrained('records')->cascadeOnDelete(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('files'); } };