id(); $table->string("type", 20)->default(""); $table->string("key")->default(""); $table->string("value")->default(""); $table->timestamps(); $table->index(["type"]); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('setting'); } };