id(); $table->timestamps(); $table->string('name'); $table->string('last_name'); $table->foreignId(['group_id']); $table->foreignId(['class_id']); $table->integer('points'); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('students'); } };