id(); $table->foreignId('student_log_id')->constrained('student_portal_logs')->onDelete('cascade'); $table->string('module_code'); $table->string('academic_year'); $table->string('semester'); $table->string('module_name'); $table->integer('marks'); $table->string('grade'); $table->string('status')->default('Pass'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('results'); } };