id(); $table->foreignId('car_id')->constrained()->onDelete('cascade'); $table->enum('type', ['oil_change', 'tire_rotation', 'brake_service', 'general_checkup', 'repair', 'insurance', 'other']); $table->text('description'); $table->decimal('cost', 10, 2); $table->date('service_date'); $table->date('next_service_date')->nullable(); $table->integer('mileage_at_service')->nullable(); $table->enum('status', ['scheduled', 'in_progress', 'completed'])->default('completed'); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('services'); } };