id(); $table->foreignId('investigation_id')->constrained()->cascadeOnDelete(); $table->foreignId('created_by')->constrained('users')->cascadeOnDelete(); $table->string('type'); $table->string('value'); $table->text('notes')->nullable(); $table->timestamps(); $table->index(['investigation_id', 'type']); }); } public function down(): void { Schema::dropIfExists('targets'); } };