bigIncrements('id'); $table->bigInteger('partner_id')->index(); $table->string('application_id', 100)->index(); $table->string('upload_batch_id', 64)->nullable()->index(); $table->unsignedInteger('row_number')->nullable(); $table->string('customer_name')->nullable(); $table->string('customer_category', 100)->nullable(); $table->string('mobile_number', 20)->nullable()->index(); $table->string('pan_number', 20)->nullable()->index(); $table->string('aadhaar_number', 30)->nullable(); $table->date('date_of_birth')->nullable(); $table->string('gender', 30)->nullable(); $table->string('marital_status', 50)->nullable(); $table->text('current_address')->nullable(); $table->string('current_city', 100)->nullable(); $table->string('current_state', 100)->nullable(); $table->string('current_pincode', 20)->nullable(); $table->text('permanent_address')->nullable(); $table->string('permanent_city', 100)->nullable(); $table->string('permanent_state', 100)->nullable(); $table->string('permanent_pincode', 20)->nullable(); $table->string('branch_code', 50)->nullable(); $table->string('name_of_business')->nullable(); $table->json('demographics')->nullable(); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('vendor_loans_data'); } }