id(); $table->foreignId('registration_id')->constrained()->onDelete('cascade'); $table->decimal('total_amount', 10, 2); $table->enum('payment_method', ['cash', 'transfer', 'insurance', 'bpjs']); $table->string('insurance_provider')->nullable(); $table->string('insurance_number')->nullable(); $table->dateTime('payment_date'); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('payments'); } };