increments('id'); $table->integer('incident_id')->unsigned()->index(); $table->integer('component_id')->unsigned()->index(); $table->integer('status_id')->unsigned()->index(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('incident_components'); } }