id(); // Auto-increment primary key $table->string('request_id')->unique(); // Custom formatted ID like REQ-2025-000001 $table->string('customer_name'); $table->string('company_name'); $table->string('designation'); $table->string('email')->unique(); $table->string('mobile_no'); $table->string('priority')->nullable(); $table->text('address')->nullable(); $table->string('pincode')->nullable(); $table->date('date')->nullable(); $table->enum('status', ['pending', 'approved', 'rejected'])->default('pending'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('requests'); } };