diff --git a/database/migrations/100003_create_opening_hours_time_ranges_table.php b/database/migrations/100003_create_opening_hours_time_ranges_table.php index 5b7bdf2..66fec7e 100644 --- a/database/migrations/100003_create_opening_hours_time_ranges_table.php +++ b/database/migrations/100003_create_opening_hours_time_ranges_table.php @@ -15,7 +15,7 @@ public function up(): void $table->enum('time_rangeable_type', ['day', 'exception']); $table->unsignedBigInteger('time_rangeable_id'); - $table->index(['time_rangeable_type', 'time_rangeable_id']); + $table->index(['time_rangeable_type', 'time_rangeable_id',], 'time_ranges_time_rangeable_type_time_rangeable_id_index'); $table->time('start'); $table->time('end');