id(); $table->string('title'); $table->string('activity_type'); $table->date('start_date'); $table->date('end_date'); $table->string('proof')->nullable(); $table->unsignedBigInteger('faculty_id'); // Ensure it is unsignedBigInteger $table->foreign('faculty_id')->references('id')->on('users')->onDelete('cascade'); // Add the foreign key constraint $table->timestamps(); }); } public function down() { Schema::dropIfExists('responses'); } }