id(); $table->foreignId('submission_id')->constrained()->onDelete('cascade'); $table->string('author', 100); $table->text('content'); $table->timestamps(); $table->softDeletes(); $table->index('submission_id'); }); } public function down(): void { Schema::dropIfExists('comments'); } };