bigIncrements('id'); $table->string('vendor', 50)->default('blacksoil')->index(); $table->unsignedBigInteger('vendor_loan_id')->nullable()->index(); $table->string('application_id', 100)->nullable()->index(); $table->unsignedInteger('row_number')->nullable(); $table->string('upload_batch_id', 64)->nullable()->index(); $table->json('payload')->nullable(); $table->json('api_response')->nullable(); $table->unsignedSmallInteger('http_status')->nullable(); $table->string('decision', 50)->nullable(); $table->string('status', 30)->default('pending')->index(); $table->text('error')->nullable(); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('vendor_bre_decision'); } }