bigIncrements('id'); $table->bigInteger('status_id')->unsigned()->index(); $table->bigInteger('hashtag_id')->unsigned()->index(); $table->unique(['status_id', 'hashtag_id']); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('status_hashtags'); } }