diff --git a/database/migrations/2024_02_23_222545_create_taxonomyables.php b/database/migrations/2024_02_23_222545_create_taxonomyables.php index 4ee4c901..86d452d0 100644 --- a/database/migrations/2024_02_23_222545_create_taxonomyables.php +++ b/database/migrations/2024_02_23_222545_create_taxonomyables.php @@ -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'); }); }