id('id_pembayaran'); $table->unsignedBigInteger('id_registrasi'); $table->date('tgl_pembayaran'); $table->decimal('total_tagihan', 12, 2); $table->decimal('jumlah_bayar', 12, 2); $table->enum('metode_pembayaran', ['cash', 'asuransi', 'transfer']); $table->text('keterangan')->nullable(); $table->timestamps(); $table->foreign('id_registrasi')->references('id_registrasi')->on('tr_registrasi'); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('tr_pembayaran'); } };