bigIncrements('id'); $table->unsignedBigInteger('vendor_loan_id')->nullable()->index(); $table->unsignedBigInteger('blacksoil_document_id')->nullable()->index(); $table->string('document_name', 255)->nullable(); $table->string('document_code', 100)->nullable()->index(); $table->string('action', 50)->comment('approved, rejected, uploaded'); $table->text('remark')->nullable(); $table->unsignedBigInteger('created_by')->nullable()->index(); $table->timestamps(); }); } } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('blacksoil_document_logs'); } }