Skip to content

Commit

Permalink
fix: index length in migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
Carnicero90 committed Aug 27, 2024
1 parent d076d42 commit 76d75e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 76d75e0

Please sign in to comment.