Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
trippo committed Aug 23, 2024
2 parents 50d8d23 + 26d31c8 commit d33ccc0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ public function up(): void
Schema::create('opening_hours_time_ranges', static function (Blueprint $table): void {
$table->id();

$table->enum("time_rangeable_type",['day', 'exception']);
$table->unsignedBigInteger("time_rangeable_id");
$table->index(["time_rangeable_type", "time_rangeable_id"]);
$table->enum('time_rangeable_type', ['day', 'exception']);
$table->unsignedBigInteger('time_rangeable_id');
$table->index(['time_rangeable_type', 'time_rangeable_id']);

$table->time('start');
$table->time('end');
Expand Down

0 comments on commit d33ccc0

Please sign in to comment.