coding style

This commit is contained in:
ludo
2024-02-22 19:35:51 +01:00
parent 722ea43bc2
commit 64a218afc2
33 changed files with 54 additions and 93 deletions

View File

@@ -12,7 +12,7 @@ return new class extends Migration
{
$connection = (new HealthCheckResultHistoryItem())->getConnectionName();
$tableName = EloquentHealthResultStore::getHistoryItemInstance()->getTable();
Schema::connection($connection)->create($tableName, function (Blueprint $table) {
$table->id();
@@ -27,8 +27,8 @@ return new class extends Migration
$table->timestamps();
});
Schema::connection($connection)->table($tableName, function(Blueprint $table) {
Schema::connection($connection)->table($tableName, function (Blueprint $table) {
$table->index('created_at');
$table->index('batch');
});

View File

@@ -1,8 +1,8 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
@@ -31,4 +31,4 @@ return new class extends Migration
{
Schema::dropIfExists('shop_baskets');
}
};
};