id(); $table->foreignId('customer_id')->constrained(); $table->text('check_number')->nullable(); $table->date('date')->default(today()); $table->decimal('amount', 8, 2); $table->decimal('unapplied_amount', 8, 2)->nullable(); $table->text('notes')->nullable(); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('payments'); } };