Skip to content

Commit

Permalink
Index names
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoungportable committed Mar 15, 2024
1 parent 7816690 commit ea902db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function up(): void
$table->string('taxonomyable_type');
$table->timestamps();

$table->index(['taxonomy_term_id', 'taxonomyable_id', 'taxonomyable_type']);
$table->index(['taxonomy_term_id', 'taxonomyable_id', 'taxonomyable_type'], 'search_idx');
});
}

Expand Down

0 comments on commit ea902db

Please sign in to comment.