id(); $table->string("name"); $table->string("address"); $table->string("phone")->unique(); $table ->string("email") ->unique() ->nullable(); $table->string("npwp")->unique(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists("suppliers"); } };