id(); $table->foreignId('user_id')->constrained()->cascadeOnDelete(); $table->string('course_name'); $table->string('payment_method'); $table->string('status'); $table->date('start_date'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('users'); } };