unsignedTinyInteger('document_id')->autoIncrement(); $table->string('document_name')->nullable(); $table->text('document_path')->nullable(); $table->text('document_for_ref')->nullable(); $table->unsignedBigInteger('documentable_id'); $table->string('documentable_type'); $table->integer('status')->default(11); $table->mediumText('description'); $table->mediumText('remarks'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('tbl_documents'); } };