id(); $table->foreignId('car_id')->constrained()->onDelete('cascade'); $table->foreignId('customer_id')->constrained()->onDelete('cascade'); $table->date('start_date'); $table->date('end_date'); $table->decimal('total_amount', 10, 2); $table->decimal('advance_payment', 10, 2)->default(0); $table->enum('status', ['pending', 'active', 'completed', 'cancelled'])->default('pending'); $table->text('notes')->nullable(); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('rentals'); } };