id(); $table->foreignId('booking_id')->constrained()->cascadeOnDelete(); $table->integer('amount'); $table->date('paid_on'); $table->string('method')->default('transfer'); $table->string('note')->nullable(); $table->string('recorded_by')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('payments'); } };