id(); $table->string("name"); $table->string("npwp"); $table->string("address")->nullable(); $table->string("phone")->nullable(); $table->string("email")->nullable(); $table->string("website")->nullable(); $table->string("no_rekening")->nullable(); $table->enum("supplier_type", ["PKP", "Non PKP"]); $table->char("status", 1)->default(1); $table->timestamps(); $table->softDeletes(); $table->unsignedBigInteger("created_by")->nullable(); $table->unsignedBigInteger("updated_by")->nullable(); $table->unsignedBigInteger("deleted_by")->nullable(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('suppliers'); } };