index('profile_id', 'likes_profile_id_index'); $table->index('status_id', 'likes_status_id_index'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('likes', function (Blueprint $table) { $table->dropIndex('likes_profile_id_index'); $table->dropIndex('likes_status_id_index'); }); } }