index('hentai_id'); $table->index('episode_id'); }); } /** * Reverse the migrations. */ public function down() { Schema::table('gallery', function (Blueprint $table) { $table->dropIndex(['episode_id', 'hentai_id']); }); } };