id(); $table->foreignId('event_id')->constrained('events')->cascadeOnDelete(); $table->foreignId('user_id')->constrained('users')->restrictOnDelete(); $table->text('body'); $table->timestamp('deleted_at')->nullable(); $table->foreignId('deleted_by')->nullable()->constrained('users')->nullOnDelete(); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('comments'); } };